# wpp
**Repository Path**: reylir/wpp
## Basic Information
- **Project Name**: wpp
- **Description**: 基于vue+electron开发的壁纸应用
- **Primary Language**: NodeJS
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2021-03-31
- **Last Updated**: 2025-03-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## wpp
基于 vue+electron 模仿 pap.er 开发的壁纸应用,壁纸来自 unsplash,软件和壁纸只可用于学习交流,不可用于商业途径。
### 预览
### 项目初始化
```shell
ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/" \
pnpm i
```
### 开发
```
pnpm dev
```
### 打包构建(windows 需要管理员权限)
```
pnpm build
```
### 带参数构建
```shell
npm_config_sharp_binary_host="https://npmmirror.com/mirrors/sharp" \
npm_config_sharp_libvips_binary_host="https://npmmirror.com/mirrors/sharp-libvips" \
vue-tsc --noEmit && vite build && electron-builder
```
### 使用代理跑 npm 命令
```shell
ELECTRON_GET_USE_PROXY=true;HTTP_PROXY=;HTTPS_PROXY=
```
### 参考
[electron-vue-vite](https://github.com/caoxiemeihao/electron-vue-vite)
[pap.er](http://paper.meiyuan.in/)
[Strawberry-Wallpaper](https://github.com/aitexiaoy/Strawberry-Wallpaper)