You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ The Blockstack Browser allows you to explore the Blockstack internet.
7
7
-[Releases](#releases)
8
8
-[Developing](#developing)
9
9
-[Building for macOS](#building-for-macos)
10
+
-[Building for Windows](#building-for-windows)
10
11
-[Building for the Web](#building-for-the-web)
11
12
-[Contributing](#contributing)
12
13
-[Logging](#logging)
@@ -59,21 +60,17 @@ reload the page. For example, if your `auth=` query looks like
59
60
60
61
## Building for macOS
61
62
62
-
1. Make sure you have a working installation of Xcode 9 or higher & valid Mac Developer signing certificate
63
-
1. Make sure you have an OpenSSL ready for bottling by homebrew by running `brew install openssl --build-bottle`
64
-
1. Make sure you have `hg` installed by running `brew install hg`
65
-
1. Run `npm install nexe -g` to install the "node to native" binary tool globally
66
-
1. Open the Blockstack macOS project in Xcode and configure your code signing development team (You only need to do this once)
67
-
1. Run `npm run mac` to build a debug release signed with your Mac Developer certificate
68
-
69
-
*Note: You only need to run `nexe` once but the first build will take a while as `nexe` downloads and compiles a source copy of node. Then it creates and copies the needed proxy binaries into place and copies a built version of the browser web app into the source tree.*
63
+
1. Make sure you have a working installation of Xcode >=9 and Node.js >=10.
64
+
1. Run `npm run mac:release:dev` to build an unsigned application bundle.
65
+
1. The output bundle is located at `native/macos/export/Blockstack.app`.
70
66
71
67
*Note: This has only been tested on macOS High Sierra 10.13*
72
68
73
69
### Building a macOS release for distribution
74
70
75
71
1. Ensure you have valid Developer ID signing credentials in your Keychain. (See https://developer.apple.com/developer-id/ for more information)
76
-
1. Follow the instructions in the above section for building for macOS.
72
+
1. Open the Blockstack macOS project in Xcode and configure your code signing development team (You only need to do this once)
73
+
1. Make sure you have an OpenSSL ready for bottling by homebrew by running `brew install openssl --build-bottle`
77
74
1. Open the Blockstack macOS project in Xcode.
78
75
1. Select the Product menu and click Archive.
79
76
1. When the archive build completes, the Organizer window will open. Select your new build.
@@ -83,6 +80,24 @@ reload the page. For example, if your `auth=` query looks like
83
80
1. Click "Export" and select the location to which you would like to save the signed build.
84
81
85
82
83
+
## Building for Windows
84
+
85
+
Prerequisites:
86
+
* Wix Toolset v3.11.1 (download and run wix311.exe from https://github.com/wixtoolset/wix3/releases/tag/wix3111rtm)
87
+
* Visual Studio 2017 (https://visualstudio.microsoft.com/downloads/)
88
+
89
+
Run `npm run win32`.
90
+
91
+
This will:
92
+
* Run the webpack build.
93
+
* Setup the resources used by msbuild and the WiX msi project.
94
+
* Run msbuild to compile the native app and create the msi installation file.
95
+
96
+
The output file can be found at `native\windows\BlockstackSetup\bin\Release\en-us\BlockstackSetup.msi`.
97
+
98
+
This does not perform any code or installer file signing.
99
+
100
+
86
101
## Building for the Web
87
102
88
103
1. Make sure you've cloned the repo and installed all npm assets (as shown above)
0 commit comments