Skip to content

Commit

Permalink
Remove spoof config
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed Jul 3, 2023
1 parent 88d54e8 commit defb280
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rollup.config.js
Expand Up @@ -238,7 +238,7 @@ export default [
entries: [
'src/stylesheets/windows'
],
platform: 'linux'
platform
})
],
onwarn(warning, warn) {
Expand Down
2 changes: 1 addition & 1 deletion src/common/os.js
Expand Up @@ -5,7 +5,7 @@ import { arch, platform } from 'node:process'

export const home = os.homedir()

export const darwin = false
export const darwin = platform === 'darwin'
export const linux = platform === 'linux'
export const win32 = platform === 'win32'

Expand Down
2 changes: 1 addition & 1 deletion src/window.js
Expand Up @@ -75,7 +75,7 @@ export class Window extends EventEmitter {
this.handleMouseButtons()
this.handleUncaughtExceptions()

toggle(document.documentElement, 'linux', true)
toggle(this.html, process.platform, true)

if (ARGS.aqua)
toggle(this.html, ARGS.aqua, true)
Expand Down

0 comments on commit defb280

Please sign in to comment.