Add Windows x64 and x86 installers and refresh release screenshots
This commit is contained in:
1 parent
f3b4205ee1
commit
f7e0030d93
18 files changed
+266
-42
No files matched your search
+2
-3
@@ -6,9 +6,8 @@ const { name: productName, appId } = require('./brand.json');
|
||||
app.setName(productName);
|
||||
app.setAppUserModelId(appId);
|
||||
|
||||
// Keep preferences alongside the portable executable, including on USB drives.
|
||||
const home = process.env.PORTABLE_EXECUTABLE_DIR || path.dirname(app.getPath('exe'));
|
||||
const data = process.env.UNTRACE_DATA_DIR || path.join(home, 'Untrace-data');
|
||||
// Portable settings travel with the launcher. Installed settings survive upgrades/uninstall.
|
||||
const data = require('./data-path.cjs').dataPath({ env: process.env, appData: app.getPath('appData') });
|
||||
try {
|
||||
fs.mkdirSync(data, { recursive: true });
|
||||
app.setPath('userData', data);
|
||||
|
||||
Reference in new issue
Block a user