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

How to install? #166

Open
hspindel opened this issue Dec 24, 2022 · 1 comment
Open

How to install? #166

hspindel opened this issue Dec 24, 2022 · 1 comment

Comments

@hspindel
Copy link

hspindel commented Dec 24, 2022

I figured out that you are using an innosetup script, but when I double-click that script I get:

Compiler error: Line 4: Required parameter FileName missing

Then kInd of figured out that you are using Rust, which I know nothing about. Installed Rust, and tried:
rustc build.rs

Got this:

error[E0433]: failed to resolve: use of
--> build.rs:3:23
|
3 | let mut res = winres::Windo
| ^^^^^^ use of

error: aborting due to previous error

Tried: cargo build
It downloaded a bunch of stuff but got some errors. It created a target directory but I don't know what to do with it. Tried to run the innosetup file again and got the same error as previous.

I"m lost as to how to get this installed.

@MCOfficer
Copy link
Owner

MCOfficer commented Dec 24, 2022

Edit: before you sink time into this, also take note of #141 (comment)


The simplest way is to just use the release binaries: https://github.com/MCOfficer/bitwarden-autotype/releases

Otherwise:

  • Get Rust from https://rustup.rs/
  • You also need windres.exe (from MinGW) or rc.exe (from Microsoft) in your PATH
  • then just cargo build --release and check your target folder for the binary

As for Innosetup, I can't recall how I used it on my dev machine. The CI just invokes iscc:

run: iscc bitwarden-autotype.iss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants