payload: {"action":"created","issue":{"url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/59","repository_url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie","labels_url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/59/comments","events_url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/59/events","html_url":"https://github.com/quasarframework/app-extension-icon-genie/issues/59","id":444044186,"node_id":"MDU6SXNzdWU0NDQwNDQxODY=","number":59,"title":"Different Icon for Different Builds","user":{"login":"jpgilchrist","id":5065660,"node_id":"MDQ6VXNlcjUwNjU2NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/5065660?v=4","gravatar_id":"","url":"https://api.github.com/users/jpgilchrist","html_url":"https://github.com/jpgilchrist","followers_url":"https://api.github.com/users/jpgilchrist/followers","following_url":"https://api.github.com/users/jpgilchrist/following{/other_user}","gists_url":"https://api.github.com/users/jpgilchrist/gists{/gist_id}","starred_url":"https://api.github.com/users/jpgilchrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpgilchrist/subscriptions","organizations_url":"https://api.github.com/users/jpgilchrist/orgs","repos_url":"https://api.github.com/users/jpgilchrist/repos","events_url":"https://api.github.com/users/jpgilchrist/events{/privacy}","received_events_url":"https://api.github.com/users/jpgilchrist/received_events","type":"User","site_admin":false},"labels":[{"id":908421304,"node_id":"MDU6TGFiZWw5MDg0MjEzMDQ=","url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-14T17:46:51Z","updated_at":"2019-07-10T13:13:40Z","closed_at":null,"author_association":"NONE","body":"In my company's use case we have two apps:\r\n* internal staging app\r\n* external prod app\r\n\r\nIn this manner, our employees/QA can install both apps at the same time as they have different app ids. I've rigged something together to make the app id dynamic with quasar.conf.js\r\n\r\n```\r\ncordova: {\r\n      id: ctx.dev || ctx.debug ? [STAGE_APP_ID] : [PROD_APP_ID],\r\n      ...\r\n}\r\n```\r\n\r\nI then also use a similar check in the app tow change which set of APIs I'm hitting prod vs. stage. \r\n\r\nIdeally the icon would be different too (although not necessary) as I can change the name of the application that's printed in ios/android."},"comment":{"url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/comments/510055490","html_url":"https://github.com/quasarframework/app-extension-icon-genie/issues/59#issuecomment-510055490","issue_url":"https://api.github.com/repos/quasarframework/app-extension-icon-genie/issues/59","id":510055490,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMDA1NTQ5MA==","user":{"login":"m0jimo","id":37825539,"node_id":"MDQ6VXNlcjM3ODI1NTM5","avatar_url":"https://avatars1.githubusercontent.com/u/37825539?v=4","gravatar_id":"","url":"https://api.github.com/users/m0jimo","html_url":"https://github.com/m0jimo","followers_url":"https://api.github.com/users/m0jimo/followers","following_url":"https://api.github.com/users/m0jimo/following{/other_user}","gists_url":"https://api.github.com/users/m0jimo/gists{/gist_id}","starred_url":"https://api.github.com/users/m0jimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0jimo/subscriptions","organizations_url":"https://api.github.com/users/m0jimo/orgs","repos_url":"https://api.github.com/users/m0jimo/repos","events_url":"https://api.github.com/users/m0jimo/events{/privacy}","received_events_url":"https://api.github.com/users/m0jimo/received_events","type":"User","site_admin":false},"created_at":"2019-07-10T13:13:40Z","updated_at":"2019-07-10T13:13:40Z","author_association":"NONE","body":"For our SPA application I'd like to have different logo according to a target server.\r\nMy icons for browser tab/shortcut (stored in src but would be better to leave them out of the src folder probably):\r\n```\r\niconA - src/statics/app_icons/1240x1240_dev.png (red icon)\r\niconB - src/statics/app_icons/1240x1240_prod.png (blue icon)\r\n```\r\nWe use different icons and toolbar colors not to mixup TEST and PROD data when testing.\r\n\r\nI'd like to have icons on the following servers:\r\n```\r\nDEV - iconA (developers)\r\nTEST - iconA (limited user group)\r\n----\r\nPROD - iconB (for end users)\r\n```\r\n\r\nCurrent solution:\r\nI use WebStorm (Win10) and today I found a way how to replace a picture before ```quasar build``` is called. \r\nI placed a ```copy 1240x1240_dev.png app-icon.png /Y``` to package.json and it is called before ```quasar build``` command. With every image replace are all icons marked as changed and ready for commit to git but it would be nicer to change them only in ```dist/spa/statics/icons``` and leave src folder untouched (this could be done probably if I used global icon-genie from package.json scripts after publishing a quasar app).\r\n\r\nI can imagine to have profile for icon-genie (as mention above) where I could put all the command line values (input picture, parameters, output location e.g. spa/statics/icons/) - but it is nearly approaching the package.json/scripts way of doing it. "}}
other: {"actor":{"display_login":"m0jimo"}}