fix 修复找不到R依赖问题

This commit is contained in:
freefire 2025-01-22 22:05:50 +08:00
parent a7e51f9b21
commit a46c4245f0
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<project ver="10" name="CircosHeatmap-aardio" libEmbed="true" icon="res\app.ico" ui="win" output="CircosHeatmap-aardio.exe" CompanyName="" FileDescription="CircosHeatmap-aardio" LegalCopyright="Copyright (C) freefire 2025" ProductName="CircosHeatmap-aardio" InternalName="CircosHeatmap-aardio" FileVersion="0.1.0" ProductVersion="0.1.0" publishDir="/dist/" dstrip="true" local="false" ignored="false">
<project ver="10" name="CircosHeatmap-aardio" libEmbed="true" icon="res\app.ico" ui="win" output="CircosHeatmap-aardio.exe" CompanyName="" FileDescription="CircosHeatmap-aardio" LegalCopyright="Copyright (C) freefire 2025" ProductName="CircosHeatmap-aardio" InternalName="CircosHeatmap-aardio" FileVersion="0.1.1" ProductVersion="0.1.1" publishDir="/dist/" dstrip="true" local="false" ignored="false">
<file name="main.aardio" path="main.aardio" comment="main.aardio"/>
<folder name="资源文件" path="res" embed="true" local="false" ignored="false">
<file name="app.ico" path="res\app.ico" comment="res\app.ico"/>

View File

@ -40,6 +40,13 @@ import console;
import fsys.dlg;
import process.r;
if (_STUDIO_INVOKED) {
process.r.setLibPaths({"/dist/lib/r-library"});
}
else {
process.r.setLibPaths({"/lib/r-library"});
}
mainForm.editRScript.print($"\script\heatmap_script.R");
var initEditConsole = function(){