pull/290/head v0.0.3
Zef Hemel 2023-01-05 15:12:43 +01:00
parent 65007df42c
commit 23d090eed0
4 changed files with 25 additions and 6 deletions

View File

@ -71,9 +71,6 @@ jobs:
draft: true draft: true
files: | files: |
desktop/out/**/*.deb desktop/out/**/*.deb
desktop/out/**/*.dmg
desktop/out/**/*Setup.exe desktop/out/**/*Setup.exe
desktop/out/**/*.nupkg
desktop/out/**/*.rpm desktop/out/**/*.rpm
desktop/out/**/*.zip desktop/out/**/*.zip
desktop/out/**/RELEASES

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<!--
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/> -->
</dict>
</plist>

View File

@ -10,7 +10,6 @@ import { mainConfig } from "./webpack.main.config";
import { rendererConfig } from "./webpack.renderer.config"; import { rendererConfig } from "./webpack.renderer.config";
import { platform } from "node:os"; import { platform } from "node:os";
import axios from "axios";
import fs from "node:fs"; import fs from "node:fs";
import path from "node:path"; import path from "node:path";
import decompress from "decompress"; import decompress from "decompress";
@ -70,7 +69,15 @@ const config: ForgeConfig = {
fs.copyFileSync("../dist/silverbullet.js", "resources/silverbullet.js"); fs.copyFileSync("../dist/silverbullet.js", "resources/silverbullet.js");
}).then((r) => callback()).catch(callback); }).then((r) => callback()).catch(callback);
}], }],
osxSign: true, osxSign: {
optionsForFile: (filePath: string) => {
// So these entitlements somehow only seem to be needed for the Intel macOS build
// Why? No idea. But it works.
return {
entitlements: "entitlements.plist",
};
},
},
}, },
rebuildConfig: {}, rebuildConfig: {},
makers: [ makers: [

View File

@ -1,6 +1,6 @@
{ {
"name": "silverbullet", "name": "silverbullet",
"version": "0.0.2", "version": "0.0.3",
"description": "Markdown as a platform", "description": "Markdown as a platform",
"main": ".webpack/main", "main": ".webpack/main",
"scripts": { "scripts": {