mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
add documentation for saving build time by skipping codesigning and notarization (#502)
Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
7c9aabd013
commit
15e21b7ca3
2 changed files with 9 additions and 2 deletions
|
@ -25,6 +25,12 @@ xc build # only required if you modify the backend
|
|||
xc dev # opens the app in dev mode
|
||||
```
|
||||
|
||||
Creating a locally built installer for local usage will not need codesigning and notarization, to skip the 2-steps:
|
||||
```
|
||||
$ export CSC_IDENTITY_AUTO_DISCOVERY=false
|
||||
$ xc dist
|
||||
```
|
||||
|
||||
# Contributing to `tea/gui`
|
||||
If you have suggestions or ideas, start a [discussion]. If we agree, we’ll move it to an issue. Bug fixes straight to pull request or issue please!
|
||||
|
||||
|
|
|
@ -21,11 +21,12 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
afterSign: async (params) => {
|
||||
if (process.platform !== "darwin") {
|
||||
if (process.platform !== "darwin" || process.env.CSC_IDENTITY_AUTO_DISCOVERY === "false") {
|
||||
console.log("not notarizing app");
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("afterSign hook triggered", params);
|
||||
console.log("afterSign hook triggered");
|
||||
|
||||
const appBundleId = "xyz.tea.gui";
|
||||
|
||||
|
|
Loading…
Reference in a new issue