public CustomSongPage() { pathLogic.GetSongFolder(false, songMode); InitializeComponent(); FetchSongsListAsync(); }
public void ExportAndPlay() { Export(); string songFolder = PathLogic.GetSongFolder(); File.Delete(Path.Combine(songFolder, audicaFile.desc.songID + ".audica")); File.Copy(audicaFile.filepath, Path.Combine(songFolder, audicaFile.desc.songID + ".audica")); string newPath = Path.GetFullPath(Path.Combine(songFolder, @"..\..\..\..\")); System.Diagnostics.Process.Start(Path.Combine(newPath, "Audica.exe")); }
public Main() { this.DataContext = this; pathLogic.GetSongFolder(false, songMode); InitializeComponent(); UISongsSearch.IsEnabled = false; UIDownloadBtn.IsEnabled = false; UIUninstallBtn.IsEnabled = false; UIPreviewSong.IsEnabled = false; AutoUpdater.Start("https://circuitcubed.com/asd/ASDVersions.xml"); FetchSongsListAsync(); }
private void UIAutodetectSongFolder_Click(object sender, RoutedEventArgs e) { pathLogic.GetSongFolder(true, songMode); UpdateSongFolderUI(); }