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
@@ -0,0 +1,12 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { createRequire } from 'node:module';
|
||||
import path from 'node:path';
|
||||
const { dataPath } = createRequire(import.meta.url)('../desktop/data-path.cjs');
|
||||
|
||||
test('installed settings stay outside program files and portable settings travel with the launcher', () => {
|
||||
const appData = path.resolve('test-profile');
|
||||
const portable = path.resolve('usb');
|
||||
expect(dataPath({ env: {}, appData })).toBe(path.join(appData, 'Untrace Desktop'));
|
||||
expect(dataPath({ env: { PORTABLE_EXECUTABLE_DIR: portable }, appData })).toBe(path.join(portable, 'Untrace-data'));
|
||||
expect(dataPath({ env: { PORTABLE_EXECUTABLE_DIR: portable, UNTRACE_DATA_DIR: 'test-override' }, appData })).toBe('test-override');
|
||||
});
|
||||
Reference in new issue
Block a user