Skip to content

fuyufjh/ArkPets-Chrome

Repository files navigation

ArkPets Chrome Extension

Chrome Web Store Mozilla Add-on Version Microsoft Edge Add-on Version

基于 ArkPets-Web 开发的明日方舟桌宠 Chrome 扩展,可以把 2D 干员模型显示在任意网页上。

Based on ArkPets-Web, this Chrome extension displays 2D operator models on any webpage.

启发自 ArkPets (Windows 平台)。素材版权属于鹰角网络

Inspired by ArkPets (Windows-only). The material copyrights belong to Hypergryph.

如果您有建议或发现问题,欢迎在 GitHub Issues 中提出。

If you have suggestions or find any issues, please feel free to raise them in GitHub Issues.

开发指南 Dev Guide

安装 Node.js (v20+) 以及 npm

# 安装依赖
# Install dependencies
npm install

# 安装 ArkPets-Web
# Install ArkPets-Web
git submodule update --init --recursive
cd ArkPets-Web && npm install && npm run build && cd ..

# 打包并监听修改,打包将生成 dist 目录,用于在 Chrome 中 Loaded unpacked
# Build and listen for changes, the build will generate the dist directory, which can be used in Chrome Loaded unpacked
npm run watch

# 打包生成分发 zip 包
# Build and generate zip package for distribution
./build.sh