mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-03 04:42:47 +02:00
54 lines
1.8 KiB
Diff
54 lines
1.8 KiB
Diff
type imports fail due to importing non-production package.
|
|
|
|
directories in .hak/hakModules are already symlinked inside node_modules,
|
|
and as such are already being copied by default. this makes tasje fail with:
|
|
```
|
|
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
|
|
FileAlreadyWritten("/node_modules/keytar/package.json")', src/main.rs:200:18
|
|
```
|
|
|
|
console.log interferes with tasje, which reads config from node stdout
|
|
|
|
macOS icons run on some cursed hack <https://github.com/element-hq/element-desktop/commit/87baf1246be4e94345f84c2b74b75092243c5b35>
|
|
|
|
--- ./electron-builder.ts.orig
|
|
+++ ./electron-builder.ts
|
|
@@ -1,7 +1,6 @@
|
|
import * as os from "node:os";
|
|
import * as fs from "node:fs";
|
|
import * as path from "node:path";
|
|
-import { type Configuration as BaseConfiguration, type Protocol } from "electron-builder";
|
|
|
|
/**
|
|
* This script has different outputs depending on your os platform.
|
|
@@ -72,10 +71,6 @@
|
|
console.warn(`No VARIANT_PATH specified, using default variant configuration '${DEFAULT_VARIANT}':`);
|
|
}
|
|
|
|
-for (const key in variant) {
|
|
- console.log(`${key}: ${variant[key]}`);
|
|
-}
|
|
-
|
|
interface Configuration extends BaseConfiguration {
|
|
extraMetadata: Partial<Pick<Pkg, "version">> & ExtraMetadata;
|
|
linux: BaseConfiguration["linux"];
|
|
@@ -112,10 +107,6 @@
|
|
},
|
|
files: [
|
|
"package.json",
|
|
- {
|
|
- from: ".hak/hakModules",
|
|
- to: "node_modules",
|
|
- },
|
|
"lib/**",
|
|
],
|
|
extraResources: ["build/icon.*", "webapp.asar"],
|
|
@@ -158,7 +149,6 @@
|
|
gatekeeperAssess: true,
|
|
strictVerify: true,
|
|
entitlements: "./build/entitlements.mac.plist",
|
|
- icon: "build/icon.icon",
|
|
mergeASARs: true,
|
|
x64ArchFiles: "**/matrix-seshat/*.node", // hak already runs lipo
|
|
},
|