Giter Site home page Giter Site logo

executable for windows? about notary HOT 9 OPEN

Pkcarreno avatar Pkcarreno commented on May 27, 2024
executable for windows?

from notary.

Comments (9)

albingroen avatar albingroen commented on May 27, 2024

I unfortunately don't have Windows PC to test the app on :/

from notary.

Pkcarreno avatar Pkcarreno commented on May 27, 2024

I have windows, I can test it, but I don't know much about tauri

from notary.

albingroen avatar albingroen commented on May 27, 2024

I think if you fork, clone, run npm install and then npm run tauri build you should get a windows executable!

from notary.

Pkcarreno avatar Pkcarreno commented on May 27, 2024

I see, I will try

from notary.

Pkcarreno avatar Pkcarreno commented on May 27, 2024

For some reason while building failed and show this:

error: failed to run custom build command for `webview2-com-sys v0.19.0`

Caused by:
  process didn't exit successfully: `C:\Users\pedro\Downloads\notary-main\src-tauri\target\release\build\webview2-com-sys-883b5e057129b0cb\build-script-build` (exit code: 1)
  --- stdout
  cargo:rustc-link-search=native=C:\Users\pedro\Downloads\notary-main\src-tauri\target\release\build\webview2-com-sys-07992b1839d5620c\out\x64

  --- stderr
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\arm64\\WebView2Loader.dll" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\arm64\\WebView2Loader.dll"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\arm64\\WebView2Loader.dll.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\arm64\\WebView2Loader.dll.lib"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\arm64\\WebView2LoaderStatic.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\arm64\\WebView2LoaderStatic.lib"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x64\\WebView2Loader.dll" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x64\\WebView2Loader.dll"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x64\\WebView2Loader.dll.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x64\\WebView2Loader.dll.lib"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x64\\WebView2LoaderStatic.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x64\\WebView2LoaderStatic.lib"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x86\\WebView2Loader.dll" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x86\\WebView2Loader.dll"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x86\\WebView2Loader.dll.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x86\\WebView2Loader.dll.lib"
  Copy from "C:\\Users\\pedro\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\webview2-com-sys-0.19.0\\x86\\WebView2LoaderStatic.lib" -> "C:\\Users\\pedro\\Downloads\\notary-main\\src-tauri\\target\\release\\build\\webview2-com-sys-07992b1839d5620c\\out\\x86\\WebView2LoaderStatic.lib"
  Error: Io(Error { kind: NotFound, message: "program not found" })
warning: build failed, waiting for other jobs to finish...
       Error failed to build app: failed to build app

from notary.

albingroen avatar albingroen commented on May 27, 2024

It seems you need some setup for building on Windows to work!
https://tauri.app/v1/guides/getting-started/prerequisites/#setting-up-windows

from notary.

Pkcarreno avatar Pkcarreno commented on May 27, 2024

Hey @albingroen

Sorry for the long wait. I recently came back to this project and this time I was able to build it.

I had to solve a minor issue related to the icons and it works properly in windows.
image

Also, I compiled it on my Linux machine (Fedora with Gnome) and it works as expected.
Screenshot from 2023-10-08 20-24-44

Without code changes it works fine, maybe a visual change like integrating the title bar in the app would improve the experience. And in the case of Linux it is not picking up the dark mode.

If you want, I can experiment with solving these issues and I can help you porting a version for both platforms (maybe with Github actions?).

btw, first time I try it and it looks pretty nice and the integration with vim bindings is amazing!

from notary.

albingroen avatar albingroen commented on May 27, 2024

Hey, this looks super cool! I would definitely appreciate your help on this, since I have neither a Windows or Linux machine

from notary.

Pkcarreno avatar Pkcarreno commented on May 27, 2024

Awesome, how should we proceed?
Actually I already created a fork and made the icon changes I told you about.

I was researching to integrate the title bar in the app but I didn't get a simple way to do it in tauri 1, I got this package but it works only in tauri 2.

I also got this cross-platform compilation script, based on the official tauri documentation, I'm testing it in my repo to see how it works.

from notary.

Related Issues (3)

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.