From e564f80a20142977716075605a591dbe2819762f Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Tue, 2 Jul 2024 18:51:26 +0200 Subject: [PATCH] Added readme v1.1 --- README.md | 17 +++++++++++++++++ nowin.py | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..37b89b8 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Nowin + +Makes your code only run on linux once imported. + +To install: + +Find your site-packages folder using this command: (USER_SITE) + +``` +python3 -m site +``` + +And then clone the repository into the folder: (Dont forger to replace "" with your actual path.) + +``` +git clone https://teapot.informationsanarchistik.de/Wobbl/nowin.git +`` \ No newline at end of file diff --git a/nowin.py b/nowin.py index e1ed3b5..78bd768 100644 --- a/nowin.py +++ b/nowin.py @@ -10,9 +10,11 @@ def main(): linux = True else: + import sys print("Why tf you not using Linux???") confront_user() + sys.exit() def confront_user():