mirror of
				https://gitee.com/spark-store-project/spark-store
				synced 2025-11-04 16:22:19 +08:00 
			
		
		
		
	update:更新运行逻辑
This commit is contained in:
		
							parent
							
								
									3ba3364fb9
								
							
						
					
					
						commit
						9e15e701c2
					
				@ -5,8 +5,8 @@ MainWindow::MainWindow(QWidget *parent)
 | 
			
		||||
    : QMainWindow(parent)
 | 
			
		||||
    , ui(new Ui::MainWindow)
 | 
			
		||||
{
 | 
			
		||||
    checkUpdates();
 | 
			
		||||
    ui->setupUi(this);
 | 
			
		||||
    checkUpdates();
 | 
			
		||||
    initStyle();
 | 
			
		||||
}
 | 
			
		||||
//初始化控件样式
 | 
			
		||||
@ -104,7 +104,6 @@ void MainWindow::checkUpdates()
 | 
			
		||||
    aptssUpdater updater;
 | 
			
		||||
 | 
			
		||||
    // 获取可更新包列表
 | 
			
		||||
    // QStringList updateablePackages = updater.getUpdateablePackages();
 | 
			
		||||
    updater.getUpdateInfoAsJson();
 | 
			
		||||
    
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user