• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

FlowCrypt/flowcrypt-browser: FlowCrypt Browser extension for Chrome and Firefox

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

FlowCrypt/flowcrypt-browser

开源软件地址:

https://github.com/FlowCrypt/flowcrypt-browser

开源编程语言:

TypeScript 50.6%

开源软件介绍:

FlowCrypt: Encrypt Gmail with PGP

Users

Get FlowCrypt browser extension at: https://flowcrypt.com/download

Developers

Mock tests: Mock tests

Live tests: Live Tests

let you = new TeamMember();

if(you.know(TS | SWIFT) && you.write(READABLE_CODE) && you.hate('9-5') && you.areFrom(EARTH)) {
  await you.email('[email protected]');
}

This project is written in TypeScript. Browsers only understand JavaScript, so the project needs to be transpiled. You need to build the project the first time you download it, and build it after each change you make to see the result in the browser. First, install tooling:

$ cd some/folder/flowcrypt-browser
$ npm install

To build the project (for now Linux and Mac only)

$ npm run-script build

> [email protected] build /home/luke/git/flowcrypt-browser
> gulp

[02:42:04] Using gulpfile ~/git/flowcrypt-browser/gulpfile.js
[02:42:04] Starting 'default'...
[02:42:04] Starting 'flush'...
[02:42:04] Finished 'flush' after 62 ms
[02:42:04] Starting 'transpileProjectTs'...
[02:42:04] Starting 'copySourceFiles'...
[02:42:04] Starting 'copyVersionedManifest'...
[02:42:05] Finished 'copyVersionedManifest' after 199 ms
[02:42:05] Finished 'copySourceFiles' after 557 ms
[02:42:12] Finished 'transpileProjectTs' after 7.57 s
[02:42:12] Starting 'chromeBuildSpacesToTabs'...
[02:42:12] Finished 'chromeBuildSpacesToTabs' after 4.55 ms
[02:42:12] Starting 'copyChromeToFirefox'...
[02:42:12] Finished 'copyChromeToFirefox' after 323 ms
[02:42:12] Starting 'copyChromeToFirefoxEditedManifest'...
[02:42:12] Finished 'copyChromeToFirefoxEditedManifest' after 10 ms
[02:42:12] Finished 'default' after 7.97 s

Now you can find your built project in build/chrome-consumer and build/firefox-consumer

Printing debug data to test logs can be done using special Debug class: https://github.com/FlowCrypt/flowcrypt-browser/tree/master/extension/js/common/platform/debug.ts#L7

Note for Mac OS users

In order for npm run-script build to work you have to:

  1. Upgrade bash to v4 or higher and make the new version default: https://www.shell-tips.com/mac/upgrade-bash/

  2. Install GNU cp util and make it default: https://stackoverflow.com/a/40431200/3049064

Other guides




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Quicksaver/Tab-Groups: Reimplementation of Firefox Tab Groups as an add-on.发布时间:2022-05-13
下一篇:
fubuki/firefox: firefox source code发布时间:2022-05-13
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap