Added readme v1.1
This commit is contained in:
parent
ccaf4a4d3f
commit
e564f80a20
2 changed files with 19 additions and 0 deletions
17
README.md
Normal file
17
README.md
Normal file
|
@ -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 "<site-packages>" with your actual path.)
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://teapot.informationsanarchistik.de/Wobbl/nowin.git <site-packages>
|
||||||
|
``
|
2
nowin.py
2
nowin.py
|
@ -10,9 +10,11 @@ def main():
|
||||||
linux = True
|
linux = True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
import sys
|
||||||
print("Why tf you not using Linux???")
|
print("Why tf you not using Linux???")
|
||||||
|
|
||||||
confront_user()
|
confront_user()
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
|
|
||||||
def confront_user():
|
def confront_user():
|
||||||
|
|
Loading…
Reference in a new issue