Giter Club home page Giter Club logo

destiny's Introduction

Destiny

Introduction

A toolbox

build

Install

应用安装完成后切勿着急打开 务必保证数据库存在并能够成功连接

  1. 打开应用的 Resources -> static 文件夹
  2. 配置 AppConfig.json
  3. 建立数据库,执行 destiny.sql
  4. 打开应用

Usage

  • Start Downie4 download through custom URL. Of course, first of all, you need to have a Downie4.

open the url in browser destiny://cmd=downie4.download&url=https://www.xxx.com/video.m3u8&title=VideoTitle

cmd: constant value
url: video url
title: video title

Issue

  • 程序闪退
  1. 检查 AppConfig.json 文件是否配置正确
  2. 检查数据库是否存在

PS

  • destiny sql
# add follow
DROP DATABASE IF EXISTS destiny;
CREATE DATABASE destiny CHARSET=utf8mb4;
USE destiny;
  • 双向通信
  1. electron 通信
# 1. 在 funcs.ts 中编写函数
# 2. 在 preload.ts 中关联加载
# 3. 在 InitApp.ts 中注册 ipc
# bg -> ft: this.win.webContents.send('print', url)
# ft -> bg: Electron.ts -> hello()
  1. 前后端通信

当开启本地服务器时,可通过 API 接口通信

destiny's People

Stargazers

destiny_zxj avatar

Watchers

destiny_zxj 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.