Skip to content

Commit

Permalink
change config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous committed Feb 12, 2022
1 parent 7e8df56 commit 0498abb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 36 deletions.
33 changes: 3 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,9 @@ jobs:
env:
# (required)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-dna:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# install hc tool
- name: Install hc tool and wasm target
shell: bash # important because this runs shell scripts
run: |
npm run dna-install
# build dna
- name: Build DNA
run: |
npm run dna-pack
# "upload" dna as build artifact
- uses: actions/upload-artifact@master
with:
name: application-dna-artifact
path: dna/workdir/application.dna

# upload the app package for each target os
upload-assets:
needs: build-dna
strategy:
matrix:
os:
Expand All @@ -47,13 +27,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@master
with:
name: application-dna-artifact
path: dna/workdir
- name: list downloads
run: ls -R
working-directory: dna/workdir
# depending on the windows command (when we are ready to build for it), may have to check which os currently on
- name: Install nodejs dependencies
run: |
Expand Down Expand Up @@ -81,16 +54,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out/ElectronHolochainTemplate-0.0.1.AppImage" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out/LocalWiki-0.0.1.AppImage" --clobber
- name: upload binary (macos only)
if: ${{ runner.os == 'macOs' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out/ElectronHolochainTemplate-0.0.1.dmg" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out/LocalWiki-0.0.1.dmg" --clobber
- name: upload binary (Windows only)
if: ${{ runner.os == 'Windows' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "electron/out/ElectronHolochainTemplate.Setup.0.0.1.exe" --clobber
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "electron/out/LocalWiki.Setup.0.0.1.exe" --clobber
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ __Table of Contents__

Global find and replace:

`ElectronHolochainTemplate`: replace with the actual name you wish to see appear in users desktop launcher icons: e.g. "Acorn"
`LocalWiki`: replace with the actual name you wish to see appear in users desktop launcher icons: e.g. "Acorn"

`com.some-domain-name.app-name`: replace with an Apple ["bundle Id"](https://developer.apple.com/documentation/appstoreconnectapi/bundle_ids) that is registered on your Apple Developer account

Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"license": "CAL-1.0",
"build": {
"productName": "ElectronHolochainTemplate",
"productName": "LocalWiki",
"afterSign": "./afterSignHook.js",
"appId": "com.some-domain-name.app-name",
"copyright": "© 2022 So And So Ltd. ",
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": "electron-holochain-template",
"name": "local-wiki",
"version": "0.0.1",
"description": "This repository helps get started with electron and holochain",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions web/dist/splashscreen.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>ElectronHolochainTemplate</title>
<title>LocalWiki</title>
<link rel="stylesheet" type="text/css" href="splashscreen.css" />
</head>
<body>
Expand All @@ -11,14 +11,14 @@
</div>
<div class="splash-content-wrapper">
<div>
<div class="splash-logo">ElectronHolochainTemplate</div>
<div class="splash-logo">LocalWiki</div>
<div class="splash-version">version 0.0.1</div>
</div>
<div class="splash-loading-message" id="activity">
Setting up Holochain...
</div>
<div class="splash-description">
ElectronHolochainTemplate is a starter kit for people to build applications
LocalWiki is a starter kit for people to build applications
with electron and holochain.
</div>
<div class="splash-license">
Expand Down

0 comments on commit 0498abb

Please sign in to comment.