# Cross-platform Desktop App for 1Hack \[Now with Dark Mode!\] v1.1.0

**URL:** <https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037>\
**Category:** Tools & Scripts\
**Tags:** tools\
**Created:** [April 4, 2020, 11:59am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037 "2020-04-04T11:59:02Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Keke\_Bija](https://onehack.st/user_avatar/onehack.st/keke_bija/32/37186_2.png) [@Keke\_Bija](https://onehack.st/u/Keke_Bija)\
**Post date:** [April 6, 2020, 4:04am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/23 "2020-04-06T04:04:24Z")

</div>

Love to see man

U have created great app can u tell us how can we make this type of app using electron please

Nd Love it bro

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [April 6, 2020, 9:34am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/24 "2020-04-06T09:34:28Z")

</div>

- I already knew javascript which helped me a lot
- I started learning electron by following this course :  
[https://www.lynda.com/Electron-tutorials/Electron-Building-Cross-Platform-Desktop-Apps/5019843-2.html](https://www.lynda.com/Electron-tutorials/Electron-Building-Cross-Platform-Desktop-Apps/5019843-2.html)
- I read the parts of [electron documenatation](https://www.electronjs.org/docs) that I needed Like the IPC , Tray , browser window events , etc.
- Created the right click menu using [this module](https://github.com/sindresorhus/electron-context-menu).
- And of course StackOverflow helped a lot , too.
- I published the program using [electron forge](https://www.electronforge.io/) which has a simple and very good documentation
- You can learn what modules are from this [page](https://www.w3schools.com/nodejs/nodejs_modules.asp)

---

<div class="post-metadata">

**Author:** ![DevilDuck](https://onehack.st/user_avatar/onehack.st/devilduck/32/29698_2.png) [@DevilDuck](https://onehack.st/u/DevilDuck)\
**Post date:** [April 6, 2020, 11:56am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/25 "2020-04-06T11:56:07Z")

</div>

I can’t install it, this shows up

 ![1hack](https://onehack.st/uploads/default/original/3X/0/e/0e36e7a712c530bbe98327c3f52bed67beb6128b.jpeg)  
someone help!

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [April 6, 2020, 12:31pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/26 "2020-04-06T12:31:13Z")

</div>

Click on more info then click run any way

> If you have windows smart screen enabled it will tell you not to trust this app , just click run anyway , this is because this app isn’t EV CodeSigned which would cost at least 200$ a year. So I either buy this codesigning certifcate (which I can’t afford) or this app gets a lot of installs as smart screen is a reputation based system.

---

<div class="post-metadata">

**Author:** ![visu\_rockerr](https://onehack.st/user_avatar/onehack.st/visu_rockerr/32/20045_2.png) [@visu\_rockerr](https://onehack.st/u/visu_rockerr)\
**Post date:** [April 6, 2020, 6:07pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/27 "2020-04-06T18:07:18Z")

</div>

I am also a developer. I can help building mobile app using cordova , ionic etc.. or developing the website. 🙂

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [April 7, 2020, 9:39pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/28 "2020-04-07T21:39:22Z")

</div>

1Hack app is now released for MacOS as @AyuSharma published it on his Mac. You can find it in the [releases section](https://github.com/ahmedayman4a/1Hack/releases)

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [April 17, 2020, 8:06pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/31 "2020-04-17T20:06:54Z")

</div>

### Big Update [v1.1.0]:

- Added a dark mode theme. Theme will be set to system theme but can be changed from right click menu to light or dark [@AyuSharma 's idea]
- Added a title bar [Issue #2](https://github.com/ahmedayman4a/1Hack/issues/2)
- Added requested back and forward buttons [Issue #2](https://github.com/ahmedayman4a/1Hack/issues/2) - [Issue #5](https://github.com/ahmedayman4a/1Hack/issues/5)
- Fixed status menu icon for Mac OS [Issue #4](https://github.com/ahmedayman4a/1Hack/issues/4)
- Bug Fix : maximize button makes app go fullscreen on Mac OS
- Hardcoded the back and front buttons which should increase the loading speed
- Added BackForwardcache which should make going back and forward much faster than normal
- Added a dmg installer for macos [Thanks to @AyuSharma again]

### As always if you have any suggestions or issues either reply below or create a new issue [here](https://github.com/ahmedayman4a/1Hack/issues/new)

---

<div class="post-metadata">

**Author:** ![reaperxtears](https://onehack.st/user_avatar/onehack.st/reaperxtears/32/111373_2.png) [@reaperxtears](https://onehack.st/u/reaperxtears)\
**Post date:** [April 18, 2020, 6:48pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/32 "2020-04-18T18:48:53Z")

</div>

I’m using windows and I got a message like this every time “Dear User! Our Website Exists And Develops By Means Of Advertisement Income. Please Disable Ad Blocking For Our Website. Thank you!”, what can I do?

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [April 18, 2020, 6:57pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/33 "2020-04-18T18:57:37Z")

</div>

That’s odd. I am 100% sure there is no adblocker in the app. Maybe check your hosts file and reset it to default - [like here](https://www.wintips.org/how-to-reset-hosts-file-to-default-values/).  
I don’t know how 1Hack detects adblockers, maybe @Aina or @TheJoker can help.

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [April 18, 2020, 7:13pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/34 "2020-04-18T19:13:27Z")

</div>

> [@reaperxtears](#):
>
> I’m using windows and I got a message like this every time

Are you using any AdBlock?  
Are you using a browser that has a built-in adblocker?

If you’re using then just put onehack link into the whitelist, in case you’re using any browser that includes built-in adblocker then do the same via settings.

1. Recommended uBlock instead of AdBlock. and turn it off, it will never ask you again.
2. If you’re using none of AdBlock or a browser. then simply click on notice twice and reload the page. you will be all good.
3. Some VPNs also blocks ads, make sure by visiting VPN’s settings.

Btw, @reaperxtears Please try to be specific, windows? what do windows do with ads? try to make a proper explanation, I’m using firefox, using AdBlock and seeing this notice. I’m not using AdBlock and I’m seeing this error on chrome. anyway, Follow the above instructions.

---

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [April 27, 2020, 2:11pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/35 "2020-04-27T14:11:20Z")

</div>



---

<div class="post-metadata">

**Author:** ![sohelhasan](https://onehack.st/user_avatar/onehack.st/sohelhasan/32/37468_2.png) [@sohelhasan](https://onehack.st/u/sohelhasan)\
**Post date:** [May 6, 2020, 10:54am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/36 "2020-05-06T10:54:12Z")

</div>

Thanks for this useful software

---

<div class="post-metadata">

**Author:** ![Mrj\_T](https://onehack.st/user_avatar/onehack.st/mrj_t/32/40611_2.png) [@Mrj\_T](https://onehack.st/u/Mrj_T)\
**Post date:** [May 6, 2020, 2:17pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/37 "2020-05-06T14:17:44Z")

</div>

![gdhdthe5](https://onehack.st/uploads/default/original/3X/7/0/70da2375a99e431d6d7fb6bba87427669f8f0b6c.jpeg)  
 ![gfhrtyry45](https://onehack.st/uploads/default/original/3X/d/8/d808ed70ab596d6986fbfb871900e083c8646173.jpeg) ![jhhfwuoefw](https://onehack.st/uploads/default/original/3X/e/a/ea807bab491b750639cb671546a27ecfd057c2c5.jpeg)  
 ![sbfkog8ywr](https://onehack.st/uploads/default/original/3X/8/7/87ada02bf3e846b7984fa694c08322c9394cdff2.jpeg)

**Thanks for the App Sir.**  
**But BitDefender is blocking frequently, Is this safe to use ?**  
**PLZ Help**  
**Thank you.**

---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [May 9, 2020, 1:50pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/38 "2020-05-09T13:50:07Z")

</div>

It is totally safe. This is a false-positive. I will submit a report to Bitdefender but first I need to know what platform you are on? Windows 10? And which version of the app have you installed? v1.1.0?  
You can see the code for yourself : [https://github.com/ahmedayman4a/1Hack](https://github.com/ahmedayman4a/1Hack)  
If you still don’t trust the released version, you can build your own by doing the following:

1. Download and install [git](https://git-scm.com/downloads) and [Nodejs](https://nodejs.org/en/download/)
2. Open cmd in a directory you want the app to be downloaded to.
3. Run this command : `git clone https://github.com/ahmedayman4a/1Hack.git`
4. Then this : `cd 1Hack`
5. Then : `npm install`

Now if you want to quickly launch the app to see if it is working run this : `npm start`  
If you want to publish the app with the installers included run : `npm run make`

---

<div class="post-metadata">

**Author:** ![Somoud](https://onehack.st/user_avatar/onehack.st/somoud/32/43426_2.png) [@Somoud](https://onehack.st/u/Somoud)\
**Post date:** [July 7, 2020, 2:12am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/39 "2020-07-07T02:12:21Z")

</div>

![2020-07-07_050304](https://onehack.st/uploads/default/original/3X/1/5/152096f98d56542a09c4b463c16ff710dd238d55.png)

Hello Ahmed,  
First, Thank you very much for this awesome tools.  
I came here to report a problem. As the attached image shows, when I sign in for the first time, the screen stuck on. I closed the software and reopen it. But it stayed as it. I solve it by right-click and chose dark mode. because the other choices did nothing.

That’s it!  
Thank you again..

---

<div class="post-metadata">

**Author:** ![ACHIYA](https://onehack.st/user_avatar/onehack.st/achiya/32/47204_2.png) [@ACHIYA](https://onehack.st/u/ACHIYA)\
**Post date:** [July 7, 2020, 7:34am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/40 "2020-07-07T07:34:24Z")

</div>

Great work. BTW, is there’s an app for ios users? Thanks.

---

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [July 7, 2020, 11:40am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/41 "2020-07-07T11:40:40Z")

</div>



---

<div class="post-metadata">

**Author:** ![ahmedayman4a](https://onehack.st/user_avatar/onehack.st/ahmedayman4a/32/37430_2.png) [@ahmedayman4a](https://onehack.st/u/ahmedayman4a)\
**Post date:** [July 7, 2020, 5:36pm UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/42 "2020-07-07T17:36:14Z")

</div>

No there isn’t and i don’t think there will be because I am not familiar with developing ios apps.

---

<div class="post-metadata">

**Author:** ![chris\_TV](https://onehack.st/user_avatar/onehack.st/chris_tv/32/44072_2.png) [@chris\_TV](https://onehack.st/u/chris_TV)\
**Post date:** [August 26, 2020, 9:42am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/43 "2020-08-26T09:42:52Z")

</div>

awesome application.congrats

---

<div class="post-metadata">

**Author:** ![Marshall](https://onehack.st/user_avatar/onehack.st/marshall/32/50623_2.png) [@Marshall](https://onehack.st/u/Marshall)\
**Post date:** [September 4, 2020, 12:57am UTC](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037/44 "2020-09-04T00:57:51Z")

</div>

very nice thank you very much

[Previous page](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037.md?page=1)

[Next page](https://onehack.st/t/cross-platform-desktop-app-for-1hack-now-with-dark-mode-v1-1-0/77037.md?page=3)
