Skip to content

Commit

Permalink
Move application icons out of style/img/
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Feb 15, 2017
1 parent e0717ec commit e5d13be
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
5 changes: 2 additions & 3 deletions mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ const incl={
'/node_modules/streamsearch/lib/sbmh.js':1}
Object.keys(incl).map(x=>{const a=x.split('/');a.map((_,i)=>incl[a.slice(0,i).join('/')]=1)}) // include ancestors

const excl={'/style/img/D.icns':1}
,namev='ride'+v.split('.').slice(0,2).join('')
const namev='ride'+v.split('.').slice(0,2).join('')
,pkg=(x,y,f)=>{rq('electron-packager')(
{dir:'.',platform:x,arch:y,out:'_/'+namev,overwrite:true,'download.cache':'cache',icon:'favicon.ico',tmpdir:false,
ignore:p=>!incl[p]&&!/^\/(src|style|lib|_)(\/|$)/.test(p)&&!(x==='win32'&&/^\/windows-ime(\/|$)/.test(p))||excl[p],
ignore:p=>!incl[p]&&!/^\/(src|style|lib|_)(\/|$)/.test(p)&&!(x==='win32'&&/^\/windows-ime(\/|$)/.test(p)),
'app-copyright':`(c) 2014-${new Date().getFullYear()} Dyalog Ltd`,
'app-version':v,
'build-version':v,
Expand Down
2 changes: 1 addition & 1 deletion packagescripts/linux/packageLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ APP_NAME=$(node -e "console.log($(cat package.json).productName)") # "Ride-4.0"
echo "Packaging for $TARGET"

RIDEDIR="_/ride40/${APP_NAME}-linux"
ICON="style/img/D.svg"
ICON="D.svg"
SBOXDIR=/tmp/ride$$
postinst=/tmp/postinst$$
prerm=/tmp/prerm$$
Expand Down

0 comments on commit e5d13be

Please sign in to comment.