@@ -7,7 +7,6 @@ const os = require('os')
7
7
const openExternal = require ( './open-external' )
8
8
const logger = require ( '../common/logger' )
9
9
const store = require ( '../common/store' )
10
- const { IS_MAC , IS_WIN } = require ( '../common/consts' )
11
10
const dock = require ( '../utils/dock' )
12
11
const { VERSION , ELECTRON_VERSION } = require ( '../common/consts' )
13
12
const createToggler = require ( '../utils/create-toggler' )
@@ -77,11 +76,12 @@ const apiOrigin = (apiMultiaddr) => {
77
76
78
77
module . exports = async function ( ctx ) {
79
78
if ( store . get ( CONFIG_KEY , null ) === null ) {
80
- // First time running this. If it's not macOS, nor Windows,
81
- // enable opening ipfs-webui at app launch.
82
- // This is the best we can do to mitigate Tray issues on Linux:
83
- // https://github.com/ipfs-shipyard/ipfs-desktop/issues/1153
84
- store . set ( CONFIG_KEY , ! IS_MAC && ! IS_WIN )
79
+ // First time running this. Enable opening ipfs-webui at app launch.
80
+ // This accounts for users on OSes who may have extensions for
81
+ // decluttering system menus/trays, and thus have no initial "way in" to
82
+ // Desktop upon install:
83
+ // https://github.com/ipfs-shipyard/ipfs-desktop/issues/1741
84
+ store . set ( CONFIG_KEY , true )
85
85
}
86
86
87
87
createToggler ( CONFIG_KEY , async ( { newValue } ) => {
0 commit comments