File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 33
33
" onStartupFinished"
34
34
],
35
35
"extensionKind" : [
36
- " ui" ,
37
- " workspace"
36
+ " ui"
38
37
],
39
38
"contributes" : {
40
39
"commands" : [
Original file line number Diff line number Diff line change 1
1
import type { AnyFunction } from '@subframe7536/type-utils'
2
2
import fs from 'node:fs'
3
3
import os from 'node:os'
4
- import path from 'node:path'
4
+ import path from 'node:path/posix '
5
5
import Url from 'node:url'
6
6
import { readFileSync , writeFileSync } from 'atomically'
7
7
import { commands , window } from 'vscode'
8
8
import { config } from './config'
9
9
import * as Meta from './generated/meta'
10
10
import { log } from './logger'
11
- import { baseDir } from './path'
12
11
import { restartApp } from './restart'
13
12
14
13
export const fileProtocol = 'file://'
15
14
export const httpsProtocol = 'https://'
16
15
17
- const lockFile = path . join ( baseDir , `__${ Meta . name } __.lock` )
16
+ const lockFile = path . join ( os . tmpdir ( ) , `__${ Meta . name } __.lock` )
18
17
19
18
let last = hasElectronWindowOptions ( )
20
19
function hasElectronWindowOptions ( ) : string {
You can’t perform that action at this time.
0 commit comments