Skip to content

Kreedzt/GFTool-Electron

Repository files navigation

GFTool-Electron

translation: 中文

This project is GFTool electron version.

It experience better for offline use

More version info: See Changelog

Tips: This project is currently NOT STABLE, if you found some bug or have some advice, please open an issue(paste your log file content).

RoadMap

  • [X] manual update
  • [X] manual open log file
  • [X] Clipboard crashed
  • [X] Auto update page(web)
  • [X] Auto detected update software
  • [X] Add proxy config
  • [ ] Auto open log when application crashed

Build

You must have nodejs environment first, See Nodejs to how to install.

  1. Install dependencies
    # This project use yarn.lock file to lock dependencies, so i recommanded to use yarn install package
    # use yarn
    yarn
        

    or

    npm i
        
  2. Add your GithubToken to src/config.js
    const AccessToken = 'Your token(detal to Basic) here'
        
  3. Clone web page
    git clone https://github.com/hycdes/GFTool.git web/ --depth=1
        
  4. Initialize env when you don’t have /config folder, run this command
    npm run initialize-config
        

    set config version

    npm run tag-version
        
  5. Start dev:
    npm run start
        
  6. Build for Windows:
    npm run build:win
        
  7. Build for MacOS:
    npm run build:mac
        

Install and Usage

Install:

  1. Requirements: This software use git for manual update, if your pc not have it, the manual update menu will NOT EFFECT So if you want to use manual update menu, your pc must have installed git.
  2. Go to release page to download lastest build. For windows, download exe file(Tested on Windows 10 1909) For MacOS, download dmg file(Tested on MacOS 10.13.6)

NOTICE: Because of electron limit, you MUST use short cut instead of web pages “Copy” or “Paste” button.

See Edit menu

Usage: Menus(For MacOS, Check your Title bar):

  • Test(Or GFTool-Electron(The app name))
    • Get lastest web page version: get lastest web page commit info
  • Edit(Override web contents clipboard, which is very IMPORANT)
    • SelectAll: shorcut: Ctrl+A or Cmd+A
    • Cut: shorcut: Ctrl+X or Cmd+X
    • Copy: shorcut: Ctrl+C or Cmd+C
    • Paste: shorcut: Ctrl+V or Cmd+V
  • Actions
    • Copy url Path: copy the link address to your clipboard
    • Open current link: open link external(By your browser)
  • Config
    • Proxy: set http request proxy address(This effect update request)
  • View
    • Reload: Reload The Web page
    • Toggle Full Screen
    • Toggle Developer Tools: open chrome devtools(For debug if you are sure what you are doing)
  • About
    • Manual Update Page: Manual pull code from GFTool (using git)
    • Open Logs file: open the application logs(for issue usage)

License

MIT