mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
fix firefox startupProfileName doesn't work problem.
This commit is contained in:
parent
748710a659
commit
0be8c2733e
@ -1,4 +1,3 @@
|
||||
zeroBackground = (zeroStorage, opts) ->
|
||||
OmegaTargetCurrent = Object.create(OmegaTargetChromium)
|
||||
Promise = OmegaTargetCurrent.Promise
|
||||
Promise.longStackTraces()
|
||||
@ -14,6 +13,9 @@ zeroBackground = (zeroStorage, opts) ->
|
||||
globalThis.isBrowserRestart = true
|
||||
|
||||
|
||||
dispName = (name) -> chrome.i18n.getMessage('profile_' + name) || name
|
||||
|
||||
zeroBackground = (zeroStorage, opts) ->
|
||||
unhandledPromises = []
|
||||
unhandledPromisesId = []
|
||||
unhandledPromisesNextId = 1
|
||||
@ -69,7 +71,6 @@ zeroBackground = (zeroStorage, opts) ->
|
||||
isHidden = (name) -> (name.charCodeAt(0) == charCodeUnderscore and
|
||||
name.charCodeAt(1) == charCodeUnderscore)
|
||||
|
||||
dispName = (name) -> chrome.i18n.getMessage('profile_' + name) || name
|
||||
|
||||
actionForUrl = (url) ->
|
||||
options.ready.then(->
|
||||
|
Loading…
Reference in New Issue
Block a user