8000 GitHub - kagiko/clients
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kagiko/clients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitwarden

GitHub Workflow browser build on main GitHub Workflow CLI build on main GitHub Workflow desktop build on main GitHub Workflow web build on main gitter chat


Bitwarden Client Applications

This repository houses all Bitwarden client applications except the Mobile application.

Please refer to the Clients section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.

Build Stuff

Set up environment: .github/workflows/build-desktop.yml#155

  • sudo apt-get -y install pkg-config libxss-dev libglib2.0-dev libsecret-1-dev rpm musl-dev musl-tools

Build Setup:

https://github.com/kagiko/contributing-docs/blob/main/docs/getting-started/clients/index.md

  • cd client # root
  • nvm use 20.18.0
  • npm ci
  • git config blame.ignoreRevsFile .git-blame-ignore-revs

Build Native Module: .github/workflows/build-desktop.yml#185

  • cd apps/desktop/desktop_native
  • rustup target add x86_64-unknown-linux-musl
  • export PKG_CONFIG_ALL_STATIC=1 # these are required to compile musl builds on a GNU system
  • export PKG_CONFIG_ALLOW_CROSS=1
  • export TARGET=musl
  • node build.js cross-platform

Run

You may need to run npm run electron before chown/chmod on the chrome-sandbox will be available?

  • sudo chown root:root /home/steven/work/kagiko/clients/node_modules/electron/dist/chrome-sandbox
  • sudo chmod 4755 /home/steven/work/kagiko/clients/node_modules/electron/dist/chrome-sandbox
  • cd apps/desktop
  • npm run electron

Ignore all this

  • cd apps/desktop/desktop_native/napi
  • RUSTFLAGS="-C target-feature=-crt-static" cargo build --release --target=x86_64-unknown-linux-musl
  • cd apps/desktop/desktop_native
  • npm run build -- --target x86_64-unknown-linux-musl
  • npm run build -- --target desktop-napi-linux-x64-musl ? nope

Related projects:

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.

About

No description, website, or topics provided.

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-3.0
LICENSE_GPL.txt

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 365

0