File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { join } from 'path';
33import ElectronStore from 'electron-store' ;
44import * as electronLocalShortcut from 'electron-localshortcut' ;
55import * as electronRemote from '@electron/remote/main' ;
6- import { release } from 'os' ;
76import { promises } from 'fs' ;
87import { getPlatform } from 'qsu' ;
98import pkg from '../../package.json' ;
@@ -32,7 +31,6 @@ global.ENV_IS_DEV = !app.isPackaged;
3231global . ENV_OS = CURRENT_OS ;
3332global . ENV_IS_WINDOWS = CURRENT_OS === 'Windows' ;
3433global . ENV_IS_MAC = CURRENT_OS === 'macOS' ;
35- global . ENV_OS_VERSION = release ( ) ;
3634
3735const schema = mainStoreSchema as DeepWriteable < typeof mainStoreSchema > ;
3836const store = new ElectronStore ( { schema } ) ;
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export const goToExtLink = async (ev, link) => {
99
1010export const getOS = ( ) => getGlobal ( 'ENV_OS' ) ;
1111
12- export const getOSVersion = ( ) => getGlobal ( 'ENV_OS_VERSION' ) ;
13-
1412export const getVersionName = ( ) => getGlobal ( 'APP_VERSION_NAME' ) ;
1513
1614export const getRuffleVersion = ( ) => getGlobal ( 'APP_RUFFLE_VERSION_DATE' ) ;
@@ -29,7 +27,6 @@ export const isDarkMode = (theme) => {
2927
3028export default {
3129 getOS,
32- getOSVersion,
3330 goToExtLink,
3431 getVersionName,
3532 isDarkMode,
You can’t perform that action at this time.
0 commit comments