main: fix failed to load static path when is production
This commit is contained in:
1 parent
5a2536355b
commit
bca2235211
3 files changed
+18
-12
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import path from 'path'
|
||||
import Constants from './Constants'
|
||||
|
||||
export default class Utils {
|
||||
static getAppIcon () {
|
||||
return path.join(__static, Constants.APP_ICON)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user