keep track of code combinations to add presets at some point
This commit is contained in:
parent
12fcdaa4f5
commit
c1851ae0a6
1 changed files with 17 additions and 0 deletions
|
@ -37,6 +37,23 @@ export default {
|
||||||
source: this.stageLoaderCode,
|
source: this.stageLoaderCode,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
try {
|
||||||
|
const _pag = window.__paq;
|
||||||
|
_paq.push([
|
||||||
|
'trackEvent',
|
||||||
|
'GCT Generator',
|
||||||
|
'Code Download',
|
||||||
|
JSON.stringify({
|
||||||
|
gameVersion: this.versionIdentifier,
|
||||||
|
format: this.format,
|
||||||
|
codes: c.map(code => ({
|
||||||
|
title: code.title,
|
||||||
|
version: code.version,
|
||||||
|
})),
|
||||||
|
}),
|
||||||
|
]);
|
||||||
|
} catch {}
|
||||||
|
|
||||||
console.log(`Preparing download for ${this.format}`);
|
console.log(`Preparing download for ${this.format}`);
|
||||||
const fileName = gameVersions.find(v => v.identifier === this.versionIdentifier).version;
|
const fileName = gameVersions.find(v => v.identifier === this.versionIdentifier).version;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue