File tree 2 files changed +0
-5
lines changed
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';
3
3
import ElectronStore from 'electron-store' ;
4
4
import * as electronLocalShortcut from 'electron-localshortcut' ;
5
5
import * as electronRemote from '@electron/remote/main' ;
6
- import { release } from 'os' ;
7
6
import { promises } from 'fs' ;
8
7
import { getPlatform } from 'qsu' ;
9
8
import pkg from '../../package.json' ;
@@ -32,7 +31,6 @@ global.ENV_IS_DEV = !app.isPackaged;
32
31
global . ENV_OS = CURRENT_OS ;
33
32
global . ENV_IS_WINDOWS = CURRENT_OS === 'Windows' ;
34
33
global . ENV_IS_MAC = CURRENT_OS === 'macOS' ;
35
- global . ENV_OS_VERSION = release ( ) ;
36
34
37
35
const schema = mainStoreSchema as DeepWriteable < typeof mainStoreSchema > ;
38
36
const store = new ElectronStore ( { schema } ) ;
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export const goToExtLink = async (ev, link) => {
9
9
10
10
export const getOS = ( ) => getGlobal ( 'ENV_OS' ) ;
11
11
12
- export const getOSVersion = ( ) => getGlobal ( 'ENV_OS_VERSION' ) ;
13
-
14
12
export const getVersionName = ( ) => getGlobal ( 'APP_VERSION_NAME' ) ;
15
13
16
14
export const getRuffleVersion = ( ) => getGlobal ( 'APP_RUFFLE_VERSION_DATE' ) ;
@@ -29,7 +27,6 @@ export const isDarkMode = (theme) => {
29
27
30
28
export default {
31
29
getOS,
32
- getOSVersion,
33
30
goToExtLink,
34
31
getVersionName,
35
32
isDarkMode,
You can’t perform that action at this time.
0 commit comments