@ -21,8 +21,6 @@ import org.yuzu.yuzu_emu.databinding.FragmentInstallablesBinding
import org.yuzu.yuzu_emu.model.HomeViewModel
import org.yuzu.yuzu_emu.model.Installable
import org.yuzu.yuzu_emu.ui.main.MainActivity
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
class InstallableFragment : Fragment ( ) {
private var _binding : FragmentInstallablesBinding ? = null
@ -75,28 +73,6 @@ class InstallableFragment : Fragment() {
R . string . install _firmware _description ,
install = { mainActivity . getFirmware . launch ( arrayOf ( " application/zip " ) ) }
) ,
if ( mainActivity . savesFolderRoot != " " ) {
Installable (
R . string . manage _save _data ,
R . string . import _export _saves _description ,
install = { mainActivity . importSaves . launch ( arrayOf ( " application/zip " ) ) } ,
export = {
mainActivity . exportSaves . launch (
" yuzu saves - $ {
LocalDateTime . now ( ) . format (
DateTimeFormatter . ofPattern ( " yyyy-MM-dd HH:mm " )
)
} . zip "
)
}
)
} else {
Installable (
R . string . manage _save _data ,
R . string . import _export _saves _description ,
install = { mainActivity . importSaves . launch ( arrayOf ( " application/zip " ) ) }
)
} ,
Installable (
R . string . install _prod _keys ,
R . string . install _prod _keys _description ,