Closed felix91gr closed 1 year ago
It seams to me that you have to run make npm-install
before running make dev-web
.
That did it! Thank you @aichingm
Hm. This should probably be added to the README, right?
@felix91gr The build system is currently not in a state in which I would like it to be. Maybe I get to rework it over the weekend. No promises tho!
@felix91gr The build system is currently not in a state in which I would like it to be. Maybe I get to rework it over the weekend. No promises tho!
Ohh, if you're planning on reworking it... could I ask for a direct command to compile it for Windows? :smile_cat:
Since as far as I can tell, Tauri should allow it to be packaged for any OS for which Rust code can be compiled, but I tried modifying the Makefile to make a windows executable and ended up making somewhat of a chimeric .deb
instead :smiling_face_with_tear:
Hi @felix91gr I split up the makefiles for both of the projects (web/tauri) which can now be run without a containerization. reading the make files should now be easier.
However there there are some things which need to be done before npm run tauri build
can work on windows:
Since I don't develop on/for windows I have no real idea on how to do this. If this is something you would be interested in doing, I would be open to any and all suggestions on how to include it in to the codebase.
Edit: Thing which would need to be done:
rsvg-convert
is used in makefiles to convert SVGs to PNGs, this properly does not work on windows too.make build
in the tauri Makefile currently only builds .deb files this would also need to changeOkis, I shall open a new issue specifically to address this and track progress on it!
Hm. Now that it's not containerized, I have no idea of what do I need to install to make things work. Do you have a list of the system dependencies I need? I can make a PR to add them to the README if you'd like. I'm working on Ubuntu
(CC @aichingm since after an issue gets closed I'm not 100% sure if you get new comment notifications)
Hi. I've been using the app for a couple of days on Ubuntu, and I love it. I wanted to build a tauri
.exe
for a friend whose working setup is in Windows, so that he may run it locally as well, but I haven't been able to run the dev environment (nor any of the build scripts). I think I'm messing up in something really trivial. This is what I've done:podman
version4.6.2
.make image-dev
, which as far as I can tell, completes without any major issues.make dev-web
. It starts, but fails with the following output:It's been a while since I've used Makefiles, and this is my first time using one for containerized environments such as with
podman
. So I suspect I must be missing something real dumb, but I'm not sure what.