Skip to content

Commit

Permalink
add back mac support properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelmerro committed Feb 3, 2022
1 parent 50550ec commit cca0ac1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Garlmap - Gapless Almighty Rule-based Logical Mpv Audio Player
* Copyright (C) 2021 Jelmer van Arnhem
* Copyright (C) 2021-2022 Jelmer van Arnhem
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -29,5 +29,8 @@ process.argv.slice(1).forEach(a => {
if (a === "--win") {
builds.win = []
}
if (a === "--mac") {
builds.mac = []
}
})
builder.build(builds).then(e => console.info(e)).catch(e => console.error(e))
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"main": "app/index.js",
"scripts": {
"build": "node build.js",
"buildall": "node build.js --linux --win",
"buildall": "node build.js --linux --win --mac",
"buildlinux": "node build.js --linux",
"buildmac": "node build.js --mac",
"buildwin": "node build.js --win",
"fix": "eslint --fix app .eslintrc.js build.js",
"lint": "eslint app .eslintrc.js build.js",
Expand Down

0 comments on commit cca0ac1

Please sign in to comment.