Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
Update siad binary on mac to be compiled with golang v1.12.7 to work …
Browse files Browse the repository at this point in the history
…around Apple notarization issue.
  • Loading branch information
n8maninger committed Aug 2, 2019
1 parent d5686e4 commit 20ea95d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
Binary file modified build/bin/darwin/siad
Binary file not shown.
8 changes: 2 additions & 6 deletions build/scripts/notarize.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/**
* Cannot notarize app until after this issue is fixed. Included siad binary is not compatible with new apple notarization
* https://github.com/golang/go/issues/30488
*/
import { notarize } from 'electron-notarize';
const { notarize } = require('electron-notarize');

export default function notarizing(context) {
module.exports = function notarizing(context) {
const { electronPlatformName, appOutDir } = context;

if (electronPlatformName !== 'darwin')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "sia-central-desktop",
"name": "SiaCentralDesktop",
"version": "0.1.2",
"private": true,
"scripts": {
Expand Down
8 changes: 2 additions & 6 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ module.exports = {
builderOptions: {
appId: 'com.siacentral.desktop',
productName: 'Sia Central Desktop',
copyright: '',
/**
* Cannot notarize app until after this issue is fixed. Included siad binary is not compatible with new apple notarization
* https://github.com/golang/go/issues/30488
*/
// afterSign: 'build/scripts/notarize.js',
copyright: '2019 Sia Central',
afterSign: 'build/scripts/notarize.js',
extraResources: [
{
/* eslint-disable no-template-curly-in-string */
Expand Down

0 comments on commit 20ea95d

Please sign in to comment.