Git Product home page Git Product logo

Comments (8)

sekwah41 avatar sekwah41 commented on May 30, 2024 2

Oh is this the windows 11 arm preview?

As long as we add something to the name so there isnt a name clash it should be all fine :D

Also was that on wsl also on a arm machine? I meant cross artitecture, because some systems can be a pain when it comes to building though I believe electron usually is the same info then just an internal asar file usually is whats switched out.

from pomatez.

huangyinhaow avatar huangyinhaow commented on May 30, 2024 2

Notification is not working.
https://user-images.githubusercontent.com/64564727/224655298-f5bd0ea1-f622-43f7-8801-767aa0bcace4.mp4

from pomatez.

huangyinhaow avatar huangyinhaow commented on May 30, 2024 1

Done in #376 .

from pomatez.

sekwah41 avatar sekwah41 commented on May 30, 2024

Sorry but github build actions do not currently support arm64 runners. Though I may be able to set up one of my raspberry pi’s or something to allow it. Though you will need to check what windows os you are using because certain versions can only use windows created executables.

I’ll need to see if the building tools support cross compiling. Luckily as I’ve been adding Tauri support we may have stuff there too.

from pomatez.

huangyinhaow avatar huangyinhaow commented on May 30, 2024

I build pomatez successfully in wsl.
image

from pomatez.

huangyinhaow avatar huangyinhaow commented on May 30, 2024

Just add arm64 to package.json and it just work!
Also see: https://github.com/huangyinhaow/pomatez-builds/releases/tag/latest

from pomatez.

huangyinhaow avatar huangyinhaow commented on May 30, 2024

In your first comment, you expressed your concern about the feasibility of cross-compiling, so I first tried a method that does not require cross-compiling, i.e. compiling in wsl on arm64. This method can successfully build pomatez, but not NSIS, so building it requires using wine32, which is not possible on the arm64 platform.

Next, I tried the second method: build pomatez on github actions. I forked this repo, modified the /app/main/package.json to

    "win": {
      "target": [
        {
          "target": "portable",
          "arch": [
            "arm64"
          ]
        },
        {
          "target": "nsis",
          "arch": [
            "arm64"
          ]
        }
      ],

, and luckily, it worked perfectly.

Unfortunately, however, I'm just a programming beginner and I don't know much about package releases, so I don't really plan to make a PR, sorry!

from pomatez.

sekwah41 avatar sekwah41 commented on May 30, 2024

Need to take more of a look, just been quite busy lately though there is also more news about Microsoft and arm now so I will need to take more of a look.

from pomatez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.