Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging for macOS using electron-builder #34

Merged

Commits on Jan 6, 2021

  1. package.json: add @vue/cli

    This is needed for other tools.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    78737c9 View commit details
    Browse the repository at this point in the history
  2. package.json: add vue-cli-plugin-electron-builder

    This will be used to package things up.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    36cdc5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe140d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    65fba58 View commit details
    Browse the repository at this point in the history
  5. background: roll our own app:// protocol

    This is necessary because the provided one doesn't seem to do the correct
    thing with packaged mode.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    b836377 View commit details
    Browse the repository at this point in the history
  6. K8s.vue: don't use window.require

    It leads to webpack not packaging dependencies (because it didn't see them)
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    095ef85 View commit details
    Browse the repository at this point in the history
  7. misc: relax development mode test to "dev" prefix

    Because some tools appear to expect NDOE_ENV to be "development" instead of
    "DEV".
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    1b2adac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d03edf View commit details
    Browse the repository at this point in the history
  9. vue.config.js: Enable ASAR

    Just seems like better packaging.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    fb0ba26 View commit details
    Browse the repository at this point in the history
  10. package.json: use vue-clie-service electron:serve for dev

    That does everything needed; running electron manually leads to errors
    loading files.
    
    Also drops the "concurrently" package, since we no longer use it.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    928e767 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0c08e4b View commit details
    Browse the repository at this point in the history
  12. Add helper to load resources.

    This is required for packaged builds.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    dd1afbd View commit details
    Browse the repository at this point in the history
  13. vue.config.js: Package extra resources.

    Otherwise the tray icon & the minikube executable will be missing.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    4628a0e View commit details
    Browse the repository at this point in the history
  14. K8s.vue: Load versions via require()

    This ensures it gets picked up correctly when we do packaged builds.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a653c4d View commit details
    Browse the repository at this point in the history
  15. Move symlink handling to the background process

    This is necessary as the renderer process would not have access to the
    electron.app object (required to see if the application is packaged).
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    4c4b6a6 View commit details
    Browse the repository at this point in the history
  16. helm.js: Get helm path with helper

    Otherwise we will not be able to find it in packaged builds.
    mook-as committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    dc05fe5 View commit details
    Browse the repository at this point in the history