Ai
4 Star 8 Fork 4

爱折腾智能机器人/commands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install_electron.sh 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
################################################
# Function : Install electron
# Desc : 用于安装electron的脚本
# Platform : ubuntu
# Version : 1.0
# Date : 2023-02-01
# Author : ncnynl
# Contact : 1043931@qq.com
# URL: https://ncnynl.com
# QQ Qun: 创客智造B群:926779095
# QQ Qun: 创客智造C群:937347681
# QQ Qun: 创客智造D群:562093920
################################################
export TEXTDOMAINDIR=/usr/share/locale
export TEXTDOMAIN=commands
echo "$(gettext "Install electron")"
if [ ! -d $HOME/.nvm ]; then
echo "Please install nvm first 'cs -s install_nvm' "
else
echo "Install electron"
npm install --save-dev electron
echo "Install electron-packager"
npm install --save-dev electron-packager
echo "Init project to $HOME/tools"
# Clone this repository
cd $HOME/tools
git clone https://github.com/electron/electron-quick-start
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start
echo "Congratulations, nodejs and yarn have successfully installed"
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/ncnynl/commands.git
git@gitee.com:ncnynl/commands.git
ncnynl
commands
commands
master

搜索帮助