-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Hello! and thank you for choosing Seeam! The worst way to distribute your files!
you will need either pipreqs, or a clean python installation.
To setup your environment, you will need to set up a file structure like so:
myapp
│ description.txt
│ main.py
│ thumbnail.png
│ requirements.txt
│ (optional) extras.py
└───assets
The assets path will be where your program's assets will be located. (make sure the description doesn't have too many lines or else it will be too long to display the play button) Im pretty sure this is case-sensitive
main.py is the main script that will be executed when your app is launched. For Premade Apps extras.py is an OPTIONAL extra button on your apps launcher page, that will run extras.py. this is recommended to open a settings page, or run checks. Thumbnail.png is the thumbnail of your app description.txt is the description of your app
pipreqs "/path/to/your/app"
pip3 freeze > requirements.txt
#this puts EVERYTHING pip has installed into requirements.txt
Finally, select all of the files, and compress them into a .zip file. upload this to somewhere online where you can get a direct download link, and there you go!
You may want to redistribute an app as a seeam package to provide ease of installation to customers. this is pretty easy to do.
use this code in main.py
import os
os.startfile("assets\example.exe")
webapps are a bit more customizable. here is the code snippet (main.py
)
from tkinter import *
import webview
import webview.window
# define an instance of tkinter
tk = Tk()
# size of the window where we show our website
tk.geometry("1920x1080")
tk.attributes('-fullscreen',True)
# Open website
webview.create_window('Google', 'https://google.com', fullscreen=True)
webview.start()
Yeah basically if you make anything that will interact with the users system in a way that is not very specifically described on your website, then you WILL be blacklisted from our servers when we actually make them. Also dont make any of these:
- Viruses
- Crypto mining in any way
- interacting with SEEAM's files
- interacting with system files in a way that is harmful to the user's device
- AND NO NSFW (no sus visual novels!!!😁)