Sandman 一个为深夜开发者构建的应用程序

网友投稿 1157 2022-10-23

Sandman 一个为深夜开发者构建的应用程序

Sandman 一个为深夜开发者构建的应用程序

In Action

Downloads

To get the full sourced version run in terminal:

git clone https://github.com/alexanderepstein/Sandman

Otherwise to just get the application click the link before to head to the latest release page and download your respective platform.

Version 1.6.0 Release

Install

Mac

Drag the Sandman.app from the Sandman dmg to the Applications folder. Double Clicking on the app should run it and it could be kept in the dock from here.

Linux

Open up a terminal and navigate to the folder containing the downloaded installer files and run

Debian

First make sure you have the dependency libappindicator1

sudo apt-get install libappindicator1

then depending on your system architechture either run

sudo dpkg -i Sandman_1.6.0_amd64.deb

Or:

sudo dpkg -i Sandman_1.6.0_x86.deb

RedHat

sudo rpm -i Sandman.rpm

This will actually install Sandman as a utility application which can be accessed from your respective distributions application launchpad.

Windows

Open up another windows explorer and navigate to your program files folder (x86 or 64 bit is irrelevant). Now drag the entire Sandman Windows folder you extracted from the downloaded zip in the previous step over to the program files folder. Go into the folder that was just dragged over and find the Sandman.exe and run it. Now the application will show up in the dock where it can be pinned.

Uninstall

Mac

Go to the applications folder and delete the Sandman application.

Linux

Open up a terminal and run:

Debian

sudo dpkg --remove Sandman

RedHat

sudo rpm -e Sandman.rpm

Windows

Open up the program files folder and delete the Sandman folder.

Helping Out

It is assumed you already have node installed and therefore npm.

To download the full source code and install the devDependencies run the following lines:

git clone https://github.com/alexanderepstein/Sandmancd Sandmannpm installcd ..electron Sandman # this will run the application

If you get some error and the application wont run try running the following lines and see if that works.

Linux/Mac

cd Sandmansudo npm install -g

Windows

Right click on the start menu icon at the bottom left and click on the option to open a command prompt in developer mode cd to the insomnia directory then run

npm install -g

CSS Compilation

The app styling was made with: Sass v3.3.14 Ruby v2.3.1p112.

To compile the stylesheet you'll only need to run the following command:

sass --watch scss:css --style compressed

To Package Electron Application To Binary

First run

Linux/Mac

sudo npm install -g electron-packager

Windows

Right click on the start menu icon at the bottom left and click on the option to open a command prompt in developer mode then run

npm install -g electron-packager

Then once electron packager is installed to package your electron application open up a terminal and cd into the Sandman folder then run

Linux

For 64 Bit Binary:

electron-packager . Sandman --platform linux --arch x64 --out dist/

For 32 Bit Binary

electron-packager . Sandman --platform linux --arch ia32 --out dist/

Mac

electron-packager . Sandman --platform darwin --arch x64 --out dist/

Windows

For 64 Bit Binary:

electron-packager . Sandman --platform win32 --arch x64 --out dist/

For 32 Bit Binary

electron-packager . Sandman --platform win32 --arch ia32 --out dist/

If you have a feature you would like to add or optimizations to the original code

Feel free to fork this repository and submit a pull requestAdd an issue labeled as an enhancement and if I think its a good idea I will do my best to implement it myself

( •_•)( •_•)>⌐■-■(⌐■_■)

License

MIT License

Copyright (c) 2017 Alex Epstein

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:使用ASP读取XML文件
下一篇:女人是这个世界上最美丽的生命
相关文章

 发表评论

暂时没有评论,来抢沙发吧~