GithubHelp home page GithubHelp logo

saoxiaoyu / genshin-impact-picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from animation-picker/genshin-impact

0.0 0.0 0.0 160.61 MB

Home Page: https://genshin-impact-picker-opal.vercel.app

License: MIT License

JavaScript 59.32% CSS 1.18% HTML 6.81% Svelte 32.68%

genshin-impact-picker's Introduction

原神抽卡点名器

原神点名器

Note

Thanks for approve from author of Genshin-Impact-Wish-Simulator.

使用

将网站运行目录设置为genshin-impact-picker-main/electron-static/static文件夹

支持自定义明星,格式为明星+空格+姓名(如5张三,每行一个)

提交名单在页面左上角问号里提交

Docker部署

   docker run -d --name ysdm \
      -p 8000:80 \
      maizig/ysdm:1.0.0

运行成功后,宿主机映射地址为 http://localhost:8000,使用 Nginx / Apache 进行反代是一个不错的选择(以及 SSL 配置)

前端开发

前端代码在目录 Genshin-Impact-Wish-Simulator . 基于 Svelte 框架.

二次开发

$ npm run install
$ npm run dev

打包exe

Genshin-Impact-Wish-Simulator 中执行

$ npm run build

将生成的静态文件 .vercel/static 拷贝到 electron-static/static 目录中, 覆盖掉.

进入 electron-static 目录执行

$ npm install
$ npm run build (生成当前系统可执行文件)
$ npm run build-win (生成win32-x64)

Deploy with Vercel

暂未测试效果

Deploy with Vercel

部署成功后,点击 Settings-General , 将 Build & Development Settings 下的 Output Directory 设置为 .vercel/static,将 Root Directory 设置为 Genshin-Impact-Wish-Simulator。回到 Deployments 下,点击当前部署最右侧的三个点,选择 Redeploy,等待部署完成后访问 Vercel 提供的域名即可使用。

genshin-impact-picker's People

Contributors

luyanci avatar cyanial avatar maizi-g avatar 6dduu6 avatar yangguangzhou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.