lights0123 / n-link

Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire.
https://lights0123.com/n-link/
GNU General Public License v3.0
129 stars 4 forks source link

make the build actually happen #28

Open rawlingsr opened 7 months ago

rawlingsr commented 7 months ago

remove cli functionality built on top of clap which changed out from under the code without a major version change. update tauri version, and let cargo find suitable versions of other crates that get used here, in order to get past openssl issue that was blocking the software from building

here's what I did to get this to build:

  1. Use use Node 16, because it's the newest version supported by at least one dependency
  2. Run cargo install tauri-cli (install rust before this)
  3. cd desktop
  4. yarn
  5. yarn run vue-cli-service build
  6. cd tauri-src
  7. cargo tauri build

I might have left out some steps I used to get past smaller issues, such as creating a folder if I got an error saying that it didn't exist, but this covers the main steps. I'm sure that this code can't be merged as is, but perhaps it can get a conversation going around migrating dependencies to more stable/modern versions

rawlingsr commented 7 months ago

@adriweb This PR isn't ready to be pulled in. Removing the CLI on the pr branch is a temporary workaround that was meant to allow me to check if newer versions of tauri, or other dependencies, otherwise work with the current code. I probably shouldn't have opened it yet, but I was hoping for early feedback.