mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
feat(desktop): prefer the bundled renderer, own update prompts (#3341)
This commit is contained in:
1 parent
7a5b9a0ded
commit
5072488f1e
33 files changed
+2197
-113
No files matched your search
@@ -9,6 +9,7 @@ import {
|
||||
WINDOWS_APP_USER_MODEL_ID,
|
||||
WINDOWS_TOAST_ACTIVATOR_CLSID,
|
||||
} from '@electron/common/DesktopIdentity';
|
||||
import {writeLogFilesUnder} from '@electron/common/Logger';
|
||||
import {configureUserDataPath} from '@electron/common/UserDataPath';
|
||||
import {
|
||||
APP_STORE_ADDON_PACKAGE,
|
||||
@@ -151,8 +152,7 @@ process.on('unhandledRejection', (reason, promise) => {
|
||||
|
||||
const userDataConfig = configureUserDataPath();
|
||||
if (userDataConfig.portable) {
|
||||
const portableLogsPath = app.getPath('logs');
|
||||
log.transports.file.resolvePathFn = (variables) => path.join(portableLogsPath, variables.fileName ?? 'main.log');
|
||||
writeLogFilesUnder(app.getPath('logs'));
|
||||
}
|
||||
armNativeProbeCache(userDataConfig.base);
|
||||
const processConfiguredAt = Date.now();
|
||||
|
||||
Reference in new issue
Block a user