mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	il commence a y avoir beaucoup de modifs
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
{% else %}
 | 
			
		||||
<table>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td width="20%" height="90%"><iframe id="iframe" src="{{url_for('static', filename='logs/dev.txt')}}" width="100%" height="100%"></iframe></td>
 | 
			
		||||
        <td width="20%" height="90%"><iframe id="iframe" src="{{url_for('static', filename='logs/custom.txt')}}" width="100%" height="100%"></iframe></td>
 | 
			
		||||
        <td width="80%"><iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
</table>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								V6.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								V6.py
									
									
									
									
									
								
							@@ -867,6 +867,11 @@ def very_custom_start(json):
 | 
			
		||||
            
 | 
			
		||||
        driver.close()
 | 
			
		||||
    display.stop()
 | 
			
		||||
 | 
			
		||||
if g.very_custom :
 | 
			
		||||
    very_custom_start(dict(g.very_custom))
 | 
			
		||||
 | 
			
		||||
else :
 | 
			
		||||
    if g.vnc_enabled or g.dev: 
 | 
			
		||||
        display = SmartDisplay(backend="xvnc", size=(1920, 1080), rfbport=g.vnc_port, color_depth=24) 
 | 
			
		||||
    else :
 | 
			
		||||
 
 | 
			
		||||
@@ -55,8 +55,7 @@ parser.add_argument(
 | 
			
		||||
    "-v", 
 | 
			
		||||
    "--vnc",
 | 
			
		||||
    help="enable VNC",
 | 
			
		||||
    dest="vnc",
 | 
			
		||||
    default="2345"
 | 
			
		||||
    dest="vnc"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
parser.add_argument( 
 | 
			
		||||
@@ -116,7 +115,7 @@ g.discord_enabled_success = discord[discord_conf]["successT"] == "True"
 | 
			
		||||
 | 
			
		||||
g.avatar_url = settings["avatarlink"]
 | 
			
		||||
 | 
			
		||||
if not very_custom :
 | 
			
		||||
if not g.very_custom :
 | 
			
		||||
    if g.discord_enabled_error:
 | 
			
		||||
        webhookFailure = Webhook.from_url(g.discord_error_link, adapter=RequestsWebhookAdapter())
 | 
			
		||||
    if g.discord_enabled_success:
 | 
			
		||||
 
 | 
			
		||||
@@ -36,3 +36,4 @@ dev = False
 | 
			
		||||
norvege = False
 | 
			
		||||
database_error_override = False
 | 
			
		||||
fast = False
 | 
			
		||||
very_custom=""
 | 
			
		||||
		Reference in New Issue
	
	Block a user