compile vesktop asar as well

This commit is contained in:
thororen1234 2024-07-19 00:32:58 -04:00
parent f513dd7178
commit e5b8123a3d
2 changed files with 8 additions and 5 deletions

View file

@ -16,9 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export const ASAR_FILE = IS_VESKTOP
? "equibop.asar"
: "desktop.asar";
export let ASAR_FILE;
if (IS_VESKTOP) ASAR_FILE = "vesktop.asar";
if (IS_EQUIBOP) ASAR_FILE = "equibop.asar";
if (!IS_VESKTOP && !IS_EQUIBOP) "desktop.asar";
export function serializeErrors(func: (...args: any[]) => any) {
return async function () {