summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-09 19:19:33 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-09 19:19:33 +0200
commit90715e702bbebcf2c3cfd39628c931bbadda28b0 (patch)
treef574bae75b22ee59e5c60e2f6f4017338614fd8c /windows
parentAdd async client docs (diff)
downloadgpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.gz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.bz2
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.lz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.xz
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.tar.zst
gpt4free-90715e702bbebcf2c3cfd39628c931bbadda28b0.zip
Diffstat (limited to 'windows')
-rw-r--r--windows/docker-compose.yml19
-rw-r--r--windows/icon.icobin4286 -> 0 bytes
-rw-r--r--windows/main.py22
-rw-r--r--windows/main.spec46
4 files changed, 0 insertions, 87 deletions
diff --git a/windows/docker-compose.yml b/windows/docker-compose.yml
deleted file mode 100644
index 1aa59caf..00000000
--- a/windows/docker-compose.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-version: "3"
-services:
- windows:
- image: dockurr/windows
- container_name: windows
- environment:
- VERSION: "win11"
- devices:
- - /dev/kvm
- cap_add:
- - NET_ADMIN
- ports:
- - 8006:8006
- - 3389:3389/tcp
- - 3389:3389/udp
- stop_grace_period: 2m
- restart: on-failure
- volumes:
- - /var/win:/storage \ No newline at end of file
diff --git a/windows/icon.ico b/windows/icon.ico
deleted file mode 100644
index 56ee955e..00000000
--- a/windows/icon.ico
+++ /dev/null
Binary files differ
diff --git a/windows/main.py b/windows/main.py
deleted file mode 100644
index 11a3f902..00000000
--- a/windows/main.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import ssl
-import certifi
-from functools import partial
-
-ssl.default_ca_certs = certifi.where()
-ssl.create_default_context = partial(
- ssl.create_default_context,
- cafile=certifi.where()
-)
-
-from g4f.gui.webview import run_webview
-from g4f.gui.run import gui_parser
-import g4f.debug
-g4f.debug.version_check = False
-g4f.debug.version = "0.2.8.0"
-
-if __name__ == "__main__":
- parser = gui_parser()
- args = parser.parse_args()
- if args.debug:
- g4f.debug.logging = True
- run_webview(args.debug) \ No newline at end of file
diff --git a/windows/main.spec b/windows/main.spec
deleted file mode 100644
index 9dd1d098..00000000
--- a/windows/main.spec
+++ /dev/null
@@ -1,46 +0,0 @@
-# -*- mode: python ; coding: utf-8 -*-
-
-
-block_cipher = None
-
-
-a = Analysis(
- ['main.py'],
- pathex=[],
- binaries=[],
- datas=[],
- hiddenimports=['plyer.platforms.linux.filechooser', 'plyer.platforms.win.filechooser'],
- hookspath=[],
- hooksconfig={},
- runtime_hooks=[],
- excludes=[],
- win_no_prefer_redirects=False,
- win_private_assemblies=False,
- cipher=block_cipher,
- noarchive=False,
-)
-pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
-
-exe = EXE(
- pyz,
- a.scripts,
- a.binaries,
- Tree('C:/Users/Docker/AppData/Local/Packages/PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/g4f/gui/client', prefix='client'),
- a.zipfiles,
- a.datas,
- [],
- name='g4f',
- debug=False,
- bootloader_ignore_signals=False,
- strip=False,
- upx=True,
- upx_exclude=[],
- runtime_tmpdir=None,
- console=False,
- disable_windowed_traceback=False,
- argv_emulation=False,
- target_arch=None,
- codesign_identity=None,
- entitlements_file=None,
- icon='icon.ico',
-)