#Build for all architecture

47 messages · Page 1 of 1 (latest)

dapper bobcat
#

Hello i'm using mac m1 and i'm trying to build for all architectures:

Mac:
M1 Silicon
Intel
Windows:
Intel x64
amd x64
Linux:
armv6
armv7
Intel x64
amd x64

currently manage to do it for m1 only reading this from the docs:

t will detect your operating system and build a bundle accordingly. It currently supports:

how ever i'm not able to build for windows r linux, any ideas? Thanks a lot!

tiny bison
#

Intel x64
amd x64
These are the same targets, did you mean x64 and arm64?

#

also, you won't get around VMs, at least for Linux

tiny bison
#

also not 1quite sure but i think linux+armv6 isn't possible, only armv7 (you'll see distros like debian and ubuntu call it armhf)

dapper bobcat
#

o wow thanks for the feedback

#

will try

#

my point is to build something that is runnable on mac m1/intel, windows and linux

dapper bobcat
#

Hey bro, i have managed to create this:

#

is it possible somehow to download releases and test them

tiny bison
#

did you use tauri-action?

#

If so, then on the /releases page there should now be a new (draft?) release containing the assets

dapper bobcat
#

yes github action bro! Found em in /releases you are awesome bro

dapper bobcat
#

hey bro just 1 last thing in case if you know about it:
so on mac is ✅
on windows is ✅
on linux - when i try to run the .deb file nothing happens, do i need to compile in linux explicitly as on the screenshot above everything looks fine

tiny bison
#

the .deb is an installer so you run i think it was dpkg -i myapp.deb and then start the installed app (debian/ubuntu and derivatives only of course)

#

sorry if that was obvious, just want to make sure

#

did you also test the .appimage?

dapper bobcat
#

Hey bro, yes i manage to run it with dpkg -i myapp.deb but only after i builded on Linux, i wasn't able to run the one that is from here #1113771029303676928 message

I didnt try with the AppImage tho :D, do you think is possible to have build for linux from the Release bundle

tiny bison
#

What's the version of the system you checked it on?

dapper bobcat
#

Ubuntu 22.04

tiny bison
#

hmm

#

did you start it by clicking on the icon or from running it in the console?

#

(can you try running it from the console? Maybe it gives us errors)

dapper bobcat
#

yeah, so i download .deb and then double click it - nothing happens

#

with console execution dpkg -i myapp.deb sec let me try again

#

this is what i see if i double click it

#

on this file

#

let me try with dpkg -i myapp.deb

tiny bison
#

yeah, i meant double clicking on the installed app, .deb is just an installer, not the app itself

dapper bobcat
#

it goes: data.tar.gz -> usr -> bin -> tauri-app

tiny bison
#

lemme explain what i'm asking you to do:

  1. Run dpkg -i tauri-app.deb
  2. Run tauri-app in the terminal afterwards (adjust to the name of your app) -> Check if it starts the app
  3. press the Super key or whatever opens the application menu (the list of all installed apps), double click on your app -> Check if it starts the app
dapper bobcat
#

yeah it runns but i'm not sure because i have 2 version now 1 of the local build and 1 of releases let me check more about it

#

yeah is working

#

no problem

#

tauri-app - starts the app can confirm

#

is there something special that i need to install .deb files by double clicking it?

tiny bison
#

There are a few apps that can do this like Eddy

#

but the "standard" is to install them via the cli

#

or not at all and pull them from the repos/ppa directly

tiny bison
#

Some app stores, like Ubuntu Software should also support double-click but from my testing that seemingly never works kkushKEKW

#

tldr: Don't expect your users to be able to double click on the .deb

dapper bobcat
#

gotcha bro