Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

Some problems found in snap-a-website tutorial #821

Closed
apolitech opened this issue Sep 8, 2018 · 3 comments
Closed

Some problems found in snap-a-website tutorial #821

apolitech opened this issue Sep 8, 2018 · 3 comments
Assignees

Comments

@apolitech
Copy link

apolitech commented Sep 8, 2018

Hey, how are you? I hope that you have a great day but let's dive into the problems.
The tutorial will not work as intended if you want to use the snapcraft.io builder:

  1. Leaving or setting window.setMenuBarVisibility(true); will not work (https://tutorials.ubuntu.com/tutorial/snap-a-website?_ga=2.12355376.50077616.1536344768-478425408.1524735338#2)

  2. build: node_modules/.bin/electron-builder will not work and you need to use override-build: | (https://tutorials.ubuntu.com/tutorial/snap-a-website?_ga=2.12355376.50077616.1536344768-478425408.1524735338#5)

  3. Failed to run 'override-build': Exit code was 1. in every build but not in amd64 where it does work as normal. In the forum, I did get this answer(https://forum.snapcraft.io/t/failed-to-run-override-build-exit-code-was-1/7268/3)

This is my project page> https://github.com/apolitech/Ubuntu-Mate-launchpad-app

All the best and keep up the good work.
P.S using .yaml its pain in the $%$%# maybe you can find another way to do that in the feature.
P.S.S make a tutorial on how you can add the icon in the menu tab when the app is open.

@popey
Copy link

popey commented Sep 10, 2018

Thanks for the bug report, and testing out the tutorial!

I'm of the opinion that this tutorial shouldn't actually exist. Making an entire snap just for a website isn't tremendously useful, although doing so will be a good primer for those just starting out. @flexiondotorg / @evandandrea / @caldav dav - opinions?

@apolitech
Copy link
Author

apolitech commented Sep 10, 2018 via email

@steverydz
Copy link
Contributor

Thanks for submitting an issue for this tutorial. We have moved our tutorials to discourse. To contribute going forwards please go to https://discourse.ubuntu.com/c/tutorials.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants