Skip to content

Commit

Permalink
Merge pull request #27 from ialexryan/master
Browse files Browse the repository at this point in the history
Bring in recent changes from master
  • Loading branch information
ialexryan committed Sep 21, 2015
2 parents 8a607ad + c16bf0f commit 9c49f03
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# threedots-electron
Asana desktop client based on Electron


Download the repository and run build.sh to make a runnable app
4 changes: 4 additions & 0 deletions app/frameless.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/* Finding out how to make the -webkit-app-region property NOT cascade would be great */

#logo {
margin-left: 75px;
}

/* old sidebar */
#header {
-webkit-app-region: drag;
Expand Down
2 changes: 1 addition & 1 deletion app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ app.on('ready', function() {
"min-width": 750,
"min-height": 300,
"preload": path.resolve(__dirname, "inject.js"),
frame: false, // https://github.com/atom/electron/blob/master/docs/api/frameless-window.md
'title-bar-style': 'hidden-inset',
"title": "threedots"
});

Expand Down
19 changes: 16 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,22 @@ cd app/
npm install
cd ..

# Install the electron-packager tool
npm i electron-packager -g
# Install the electron-packager tool if needed
which electron-packager || npm i electron-packager -g

# Use the electron-packager tool. Modify these arguments accordingly.
electron-packager app/ threedots --platform=darwin --arch=all --version=0.30.4 --asar --overwrite --out=releases --app-version=2.0.0 --app-bundle-id=com.threedotsapp --helper-bundle-id=com.threedotsapp.helper --icon=icon.icns
electron-packager app/ threedots \
--platform=darwin \
--arch=all \
--version=0.33.0 \
--asar \
--overwrite \
--out=releases \
--app-version=2.1.0 \
--app-bundle-id=com.threedotsapp \
--helper-bundle-id=com.threedotsapp.helper \
--icon=icon.icns \
# --sign="Developer ID Application: Alex Ryan (4H5P3P832L)"
#spctl --assess --verbose releases/threedots-darwin-x64/threedots.app

# Uncomment the above two lines to output and verify a Developer ID-signed app

0 comments on commit 9c49f03

Please sign in to comment.