thedesk/app/node_modules/app-builder-lib/out/ProtonFramework.js.map

2 lines
6.8 KiB
Plaintext
Raw Normal View History

2019-09-13 00:38:13 +10:00
{"version":3,"sources":["../src/ProtonFramework.ts"],"names":[],"mappings":";;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEM,MAAO,eAAP,SAA+B,gCAA/B,CAA6C;AAMjD,EAAA,WAAA,CAAY,OAAZ,EAA6B,gBAA7B,EAAuD,aAAvD,EAA6E;AAC3E,UAAM,OAAN,EAAe,gBAAf,EAAiC,aAAjC;AANO,SAAA,IAAA,GAAO,QAAP,CAKoE,CAH7E;;AACS,SAAA,kBAAA,GAAqB,oBAArB;AAIR;;AAED,EAAA,cAAc,CAAC,QAAD,EAAmB;AAC/B,QAAI,QAAQ,KAAK,iBAAS,OAA1B,EAAmC;AACjC,aAAO,oCAAgB,uCAAhB,CAAP;AACD,KAFD,MAGK,IAAI,QAAQ,KAAK,iBAAS,KAA1B,EAAiC;AACpC,aAAO,oCAAgB,2BAAhB,CAAP;AACD,KAFI,MAGA;AACH,aAAO,oCAAgB,wCAAhB,CAAP;AACD;AACF;;AAED,EAAA,iBAAiB,GAAA;AACf,QAAI,KAAJ;AACA,UAAM,YAAY,GAAQ;AAAC,MAAA,GAAG,EAAE,KAAN;AAAa,MAAA,UAAU,EAAE;AAAzB,KAA1B;;AACA,QAAI,OAAO,CAAC,GAAR,CAAY,qBAAZ,KAAsC,MAA1C,EAAkD;AAChD,MAAA,KAAK,GAAG,OAAO,CAAC,aAAD,CAAf;AACA,MAAA,KAAK,GAAG,aAAa,CAAC,KAAD,EAAQ,YAA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import { safeStringifyJson } from \"builder-util-runtime\"\nimport { Platform } from \"./core\"\nimport { NODE_MODULES_PATTERN } from \"./fileTransformer\"\nimport { LibUiFramework } from \"./frameworks/LibUiFramework\"\nimport { getTemplatePath } from \"./util/pathManager\"\n\nexport class ProtonFramework extends LibUiFramework {\n readonly name = \"proton\"\n\n // noinspection JSUnusedGlobalSymbols\n readonly defaultAppIdPrefix = \"com.proton-native.\"\n\n constructor(version: string, distMacOsAppName: string, isUseLaunchUi: boolean) {\n super(version, distMacOsAppName, isUseLaunchUi)\n }\n\n getDefaultIcon(platform: Platform) {\n if (platform === Platform.WINDOWS) {\n return getTemplatePath(\"icons/proton-native/proton-native.ico\")\n }\n else if (platform === Platform.LINUX) {\n return getTemplatePath(\"icons/proton-native/linux\")\n }\n else {\n return getTemplatePath(\"icons/proton-na